Maintaining the Documentation
Rapid OS public documentation uses Docusaurus for presentation and keeps canonical Markdown content in docs/.
Structure
docs/ # canonical content
website/
├── docusaurus.config.ts # site configuration
├── sidebars.ts # navigation structure
├── src/css/custom.css # theme
└── package.json # dependencies and scripts
Docusaurus reads ../docs directly. Do not create a second copy of the same documents in website/docs.
Product truth rule
Documentation should describe only behavior that can be verified in the parser, domain, tests, or release contracts.
Before documenting a new capability:
- Confirm it exists in code.
- Confirm the actual commands and flags.
- Confirm whether the command is read-only or writes state.
- Document the files it creates or modifies.
- Document relevant exit codes and diagnostics.
- Distinguish declared capability, evidence, and verdict.
- Build the Docusaurus site.
Local development
cd website
npm install
npm run start
Production build
cd website
npm install
npm run build
Broken links must be treated as build errors.