From 99f5b10eccd95aa0066ea6fe6bb75f367ab56a47 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 18 Nov 2026 22:03:14 -0300 Subject: core: src/ becomes core/, pardes.zig its root.zig (the reorganisation's tree, step 2d), and every mention of a src/ path follows: the build's paths, the core's imports of its root, the tests that read the repository's files by path (lspbench's, look.zig's spans over core/look.zig), the comments that cite files, the documents and the manual (the typst corpus reads core/tutor.txt and core/plumbing); left as they were: the /src tree's served names (src/pardes.zig and the rest are the 9P tree's, not the repository's), the CHANGELOG's history, fixtures that are only strings; fs-unit-test runs from the core's root (a module of the core rooted at fs.zig had the runtime's and the devices' `core` be fs.zig); nothing else changes: the ledger (pardes.test.* now root.test.*), frames byte-identical, replicas and process-test the base's Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T --- docs/typ/README | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/typ/README') 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. -- cgit v1.3