Add Type B slide pipeline and recipe rendering updates

This commit is contained in:
2026-04-15 16:39:50 +09:00
parent 51548fdc41
commit 66c00924ed
22 changed files with 6260 additions and 1322 deletions

View File

@@ -59,6 +59,17 @@ def get_image_sizes(content: str, base_path: str) -> list[dict[str, Any]]:
abs_path = found[0]
logger.info(f"이미지 경로 재탐색 성공: {filename}{abs_path}")
# samples/images/, samples/mdx_batch/ 에서도 탐색
if not abs_path.exists():
filename = Path(rel_path).name
for search_dir in [Path("samples/images"), Path("samples/mdx_batch")]:
if search_dir.exists():
found = list(search_dir.rglob(filename))
if found:
abs_path = found[0]
logger.info(f"이미지 경로 확장 탐색 성공: {filename}{abs_path}")
break
if not abs_path.exists():
logger.warning(f"이미지 파일 미발견: {abs_path}")
images.append({