Getting Started
This page describes how to run and update the Rspress-based documentation app in this repository.
Prerequisites
- Node.js 24 (
.nvmrcis the workspace baseline) pnpm10+
Install Dependencies
Run from the repository root:
Start Local Docs Preview
Run from the repository root:
Rspress starts a local docs server for previewing navigation and page content.
The development server port is fixed to 46302. If it is occupied, the command exits with recovery guidance instead of selecting another port.
Validate Links
Run from the repository root:
This builds the site and validates every stable clean route plus generated internal links. It should pass before opening a pull request.
Build and Preview
Run from the repository root:
The production build is written to the app's deployment output directory for Cloudflare
Pages. Rspress clean URLs keep public links such as /getting-started free of
.html suffixes.
Editing Workflow
- Update or add page content in the public-docs source.
- Keep stable routes and navigation entries synchronized.
- When structural or contract-level behavior changes, update the corresponding internal contracts and policy files as needed.