Skip to content

Build the documentationΒΆ

The reference is generated from REX sources and generated AST headers with MrDocs, then rendered by Zensical.

From a configured REX build:

bash scripts/ci-docs-build

This checks the documentation contracts, builds the generated headers, renders the site, and validates local links and payload size. The compiler itself does not need a full rebuild just to generate documentation.

To rebuild and serve the site locally:

bash scripts/serve-docs

To keep output under the build directory:

DOCS_SCRATCH_DIR=build/docs-scratch bash scripts/ci-docs-build

Build provenance records the source revision and tool versions for the published site.

Appearance uses Catppuccin Zensical with the Latte palette (MIT license).