Skip to content

Maintain this documentation

Edit prose in docs/ and imported documents at their original repository paths. zensical.toml owns navigation and source-file imports. Add each new page to navigation once and preserve existing URLs and section anchors when moving text.

Build and preview

Use Python 3.11+, Bash, Git, and a running Docker engine:

bash scripts/docs.sh check
bash scripts/docs.sh build
bash scripts/docs.sh serve

The preview opens at http://127.0.0.1:8000/; rebuild after editing. Generated files stay under target/. Build a released edition with bash scripts/docs.sh build vX.Y.Z. The normal build uses the working tree.

Release documentation

Follow the shared publishing and release-verification policy. It covers edition URLs, immutable release archives, manual backfills, deployment recovery, and checking the public site before a release is complete.

Make changes

Follow the shared content and tooling policy. Keep interface-specific examples here and link to a matching server edition for shared concepts and the Atlas dataset. Update the tooling SHA in .github/docs-tools.env and both reusable-workflow pins together when adopting shared build changes.

Documentation-only CI

Pull requests and pushes containing only prose or documentation-site inputs run Markdown lint and documentation validation without the application test/build matrix. Unknown files, source changes, executable examples, and declared test/build inputs retain application CI. Mixed changes run both kinds of checks.

scripts/ci-policy.py owns the allowlist and exceptions. Update its regression tests whenever a document becomes a build, test, or packaging input; direct literal Rust includes are checked automatically. Run the policy tests with python3 scripts/test-ci-policy.py.

The Lint check is the aggregate CI gate: classification failures, failed checks, and unexpectedly skipped required jobs fail it. Keep that check required in branch protection. Add the ci:full pull-request label or dispatch the CI workflow manually to request complete validation. Release validation and separately scheduled checks retain their existing coverage.