- Project/component: public documentation web app contract
- Canonical path:
apps/public-docs
- Runtime: Mintlify web documentation app
- Primary language: Markdown/JSON content with web build tooling
- External users reading public product documentation
- Internal maintainers publishing and reviewing docs updates
- Navigation and page ID contracts in
apps/public-docs/docs.jsonmust remain stable. - Public-facing routes and content groupings must map to canonical docs contracts.
- Top-level product page IDs currently include
nodeup,cargo-mono,derun,with-watch, anddexdex. - The
With Watchtab must route to the stable page IDwith-watchand keep theCommand Rerun Watchergrouping unless contracts are updated together. - Breaking navigation changes require explicit migration notes.
- Source docs are versioned in-repo.
- Build artifacts are generated and published through release workflows.
- Public content must avoid leaking internal-only secrets or environment details.
- Documentation publishing pipelines must use approved credentials only.
- Build and publish logs should include page IDs, changed files, and publish status.
- Log output must remain safe for public CI surfaces.
- Local validation:
pnpm --filter public-docs test - CI alignment:
node-public-docs-test
- Integrates with repository contract docs under
docs/. - Integrates with Mintlify navigation and deployment tooling.
- Update
docs/project-public-docs.mdand this file when navigation or public doc platform contracts change. - If user-facing content behavior changes, update corresponding
apps/public-docspages in the same change set.
docs/project-public-docs.mddocs/domain-template.md