mirror of
https://forge.katzen.cafe/katzen-cafe/iowo.git
synced 2024-12-22 01:55:51 +01:00
repo: make typst compilation more generic
This commit is contained in:
parent
388827a50e
commit
6217a984a2
2 changed files with 6 additions and 2 deletions
1
docs/compiled/.gitkeep
Normal file
1
docs/compiled/.gitkeep
Normal file
|
@ -0,0 +1 @@
|
|||
the just script will place compiled pdfs in here. thank you for your understanding.
|
7
justfile
7
justfile
|
@ -1,2 +1,5 @@
|
|||
doc-design:
|
||||
typst compile docs/design/*.typ --root=docs
|
||||
docs:
|
||||
for doc in $(fd '.typ' './docs' --exclude 'template*' --exclude 'util*'); do \
|
||||
typst compile $doc --root=docs; \
|
||||
mv "$(dirname $doc)/$(basename $doc .typ).pdf" docs/compiled/; \
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue