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.- Standalone product docs such as
apps/binpm-docsandapps/nodeup-docs: Public-facing documentation surfaces for product-specific user 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. - Public docs must not document repository-internal implementation details unless the detail is part of a stable public interface, user-visible behavior, or explicitly public maintainer workflow.
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.