直接添加模板到仓库

This commit is contained in:
2026-04-08 14:02:22 +08:00
parent 61a435965f
commit aaeefaed6b
2 changed files with 92 additions and 1 deletions

View File

@ -52,7 +52,7 @@ def indent_text(text: str, indent: int = 2) -> str:
def generate_index(questions: list[dict], dry_run: bool, logger) -> str:
"""Generate index.typ content."""
lines = [
'#import "@local/phomework:0.1.0": homework, question, answer, shadow',
'#import "./templates/lib.typ": homework, question, answer, shadow',
"",
]