diff --git a/docs/compiled/.gitkeep b/docs/compiled/.gitkeep new file mode 100644 index 0000000..a682a23 --- /dev/null +++ b/docs/compiled/.gitkeep @@ -0,0 +1 @@ +the just script will place compiled pdfs in here. thank you for your understanding. diff --git a/justfile b/justfile index 9228b4c..a240f64 100644 --- a/justfile +++ b/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