docs: some initial groundwork #2
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