Documentation Lifecycle
This page defines how documentation changes should be coordinated between internal contracts and public docs.Source Layers
docs/: Internal source of truth for project contracts and implementation details.apps/public-docs: Public-facing documentation surface for curated guidance.
Update Rules
- Structural repository changes must update relevant
docs/project-*.mdfiles in the same change set. - When user-facing behavior, project positioning, or onboarding guidance changes, update
apps/public-docspages in the same change set as needed. - Repository policy changes must be reflected in the appropriate
AGENTS.mdfiles and any affected public docs pages.
Quality Gates
- Run
pnpm --filter public-docs testto verify broken links. - Keep
apps/public-docs/docs.jsonnavigation aligned with actual page IDs. - Use pull requests to review both internal and public documentation impacts together.