This commit is contained in:
2025-05-19 23:08:28 +02:00
commit 4d6c7201ee
15 changed files with 842 additions and 0 deletions

20
build.sh Executable file
View File

@@ -0,0 +1,20 @@
set -e
rm -rf build
mkdir build
compile () {
typst compile --root . --features html -j 4 $@
}
page () {
compile --format pdf --input web=false "pages/$1" "build/$1.min.pdf"
compile --format html --input web=true "pages/$1" "build/$1.desktop.html"
compile --format html --input web=false "pages/$1" "build/$1.min.html"
}
page "article-make-regex-engine-1.typ"
page "project-etc-nand.typ"
page "index.typ"
cp build/index.typ.desktop.html build/index.html