diff options
Diffstat (limited to 'docs/typ/README')
| -rw-r--r-- | docs/typ/README | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/typ/README b/docs/typ/README index 641343f1..88f24343 100644 --- a/docs/typ/README +++ b/docs/typ/README @@ -14,7 +14,7 @@ docs/typ: the Typst documentation corpus file imports the figure it shows from here. cheatsheet-a4.typ output wrapper: the one-page A4 cheatsheet. book.typ output wrapper: an A4 book, title page, contents, - every chapter, then the tutor (src/tutor.txt). + every chapter, then the tutor (core/tutor.txt). ../site/site.typ output wrapper: the website, a page per chapter plus the landing page and the tutor, in one Typst bundle run (see docs/site/README). @@ -36,7 +36,7 @@ Build (from the repo root): typst compile --root . --ignore-system-fonts docs/typ/book.typ typst compile --root . --format bundle --features bundle,html docs/site/site.typ OUT zig build site -Dplatform=tui --prefix DIR # DIR/share/doc/pardes/site/ -(--root . because book and HTML read the tutor from src/tutor.txt.) +(--root . because book and HTML read the tutor from core/tutor.txt.) The contract for content files ------------------------------ @@ -113,7 +113,7 @@ builtins-tui.json and builtins-gui.json are every builtin of the terminal and the window build (name, leader, Help's other shortcuts, arg, scope, setting, choices, doc), written by `zig build builtins-json -Dplatform=tui` and `-Dplatform=gui` from the registry and the Help rows -(src/builtins_json.zig). style.typ merges them, marking each word "both", +(core/builtins_json.zig). style.typ merges them, marking each word "both", "tui" or "gui". The doc steps refresh their build's file first, and each build's unit-test fails when its file is stale. #word takes a name from either file. builtins.typ draws it as the @@ -123,7 +123,7 @@ in what order. The drift test -------------- The unit test "docs/typ names only words, keys and default tags that -exist" (src/config.zig) reads every .typ here and fails when a word(), +exist" (core/config.zig) reads every .typ here and fails when a word(), key(), keys() or tag() names a builtin, key binding or default tag that pardes no longer has. Pass these functions string literals, so the test can read them. |
