template for a multi-document Typst monorepo
- Nix 96.7%
- Typst 3.3%
| documents | ||
| nix | ||
| .gitignore | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| README.md | ||
bookworm
Example/template for a multi-document monorepo of Typst documents with Typix and full dependency / custom font / custom per-document option support.
usage
Just clone down this repo and start putting your documents in documents/**.
Arbitrarily deep nested documents are supported, e.g. look for an example. Any
directory containing a file called doc.nix will be considered a Typst
document root, see the example doc.nix files for examples of what they look
like (very minimal boilerplate). File paths of document roots will be mapped
directly to a package output e.g.
documents/arbitrary-nesting/test1/test2/test3/doc.nix --> nix build .#arbitrary-nesting.test1.test2.test3
docs
It's very minimal and built on top of
Typix. Look in flake.nix
for a self-documented file and look in each of the doc.nix files for some
more self-documented code.