Docs and API pipeline
This flow highlights the relationship between authored docs, generated API docs, sidebar wiring, and final Docusaurus output.
Operational guidanceโ
- Treat TypeDoc output as generated artifacts; edit source code, not generated files.
- Keep sidebars aligned with file paths and generated API entrypoints.
- Use full docs build in CI for confidence that rule docs and API docs stay synchronized.
Troubleshooting signalsโ
- If API pages drift, inspect
npm run docs:apioutput first. - If pages disappear from nav, validate
sidebars.ts/sidebars.rules.tsIDs. - If Markdown linting fails, run docs checks before full build to shorten feedback loops.