99ceb89e484b4b375081cc035a72ef186cce5b82
Yggdrasil
A knowledge base migrated to Calepin, a Typst-based static site generator.
Quick Start
- Dependencies: You need the
justcommand runner. - Bootstrap Toolchain: Run
just tools. This downloads pinned versions ofcalepinandtypstinto thetools/directory. No global installation is required. - Build: Run
just buildto generate the static site in thepublic/directory. - Preview: Run
just previeworjust watchto view the site locally.
Adding Content
- Source files are located in
site/. - To add a page, create a
.typfile and link it in thesite/calepin.tomlconfiguration under[sidebar]or[pages]. - Categories are structured as subdirectories (e.g.,
site/thermo/) with their ownindex.typ.
Deployment
The site is built as a set of static files in the public/ folder. A Gitea Actions workflow .gitea/workflows/build.yml runs on push to build and upload these files as an artifact. They can be deployed to any static host.
Languages
HTML
51.7%
Typst
24.1%
JavaScript
14.3%
Shell
7.4%
Just
2.5%