summaryrefslogtreecommitdiff
path: root/docs/site/README
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-30 17:35:06 -0300
committerGabriel Schneider <[email protected]>2026-10-30 17:35:06 -0300
commit6d8da8721141284cf33bb901168b26135893eb86 (patch)
tree791d63401d4e85fbca1d597a8ce0326e70efd545 /docs/site/README
parentefd43a3a2cf03bb741366331158b368abf9ac583 (diff)
parentbf6810a8f9d6cc82050e7d9c0cfb06358301b574 (diff)
downloadpardes-6d8da8721141284cf33bb901168b26135893eb86.tar.gz
pardes-6d8da8721141284cf33bb901168b26135893eb86.zip
Merge latest upstream into the macOS branch for Zig 0.17
Retain the macOS branch history and local Acme selection color while adopting upstream's current core and platform changes. Pin Zig and ZLS to 0.17.0, and fetch the existing zstbi compatibility commit through upstream after its original fork was removed.
Diffstat (limited to 'docs/site/README')
-rw-r--r--docs/site/README28
1 files changed, 28 insertions, 0 deletions
diff --git a/docs/site/README b/docs/site/README
new file mode 100644
index 00000000..41804163
--- /dev/null
+++ b/docs/site/README
@@ -0,0 +1,28 @@
+docs/site: the pardes website, built from docs/typ
+
+ site.typ the wrapper: every page, the shared tag-line header and
+ chapter nav, the landing page, and the files it ships.
+ Pages come from `chapters` in ../typ/style.typ, so a new
+ chapter is a new page; #doc links resolve across pages.
+ site.css the whole look (lapis layout from 0x4200.cafe in
+ pardes's orchard greens; forestbones_light when the
+ reader prefers light).
+ fonts/ Departure Mono and Crimson Pro, both SIL OFL, licences
+ alongside.
+ media/clips.toml the landing page's recordings, in order: name, caption,
+ ready. For a clip named N the site ships media/N.webm,
+ media/N.mp4 and media/N.png (the poster); until `ready`
+ is true it shows placeholder.svg instead.
+ casts/casts.toml the terminal recordings (asciicast v2), in order: name,
+ title, caption, cols, rows, ready; casts/N.cast each.
+ test/record_casts.py records them from a tty pardes
+ and writes this file.
+
+Build (from the repo root):
+
+ typst compile --root . --format bundle --features bundle,html docs/site/site.typ OUT
+ zig build site -Dplatform=tty --prefix DIR # DIR/share/doc/pardes/site/
+
+Every page sits at the top of OUT and every link is relative, so the site
+works from file:// and from any static server. The only prose of the
+site's own is the landing page; everything else is included from docs/typ.