New microservice documentation checklist
Layer 3: code and API
-
GenerateDocumentationFileon,CS1591not suppressed, warnings are errors - OpenAPI served, every operation has a summary and tags, and a test enforces it
- Interactive API reference at
/docs/api - DocFX builds the .NET reference to
/docs/code/in CI and the image
Layer 2: handbook
-
docs/+website/in the repo;onBrokenLinks: 'throw' - Intro with the "where to look" table
- Product overview and glossary
- Architecture overview: context diagram, layers, one request end to end
- Service card
- At least one ADR for each decision a newcomer would question
- Event catalog with topology, plus one page per message (generated field tables, checked by a test)
- Data model ER diagram, migrations how-to, query and SQL comment rules
- Developer guide: getting started, configuration, testing, how we document, runbook, deployment
Process
- PR template with the docs checklist
-
CHANGELOG.mdwith an Unreleased section - CI job builds all docs; the Dockerfile publishes them with the service
- Docs versioned at release (
npm run version -- x.y.z)
Layer 1
- Shared UI components? Storybook stories live beside the components. None? Note that it doesn't apply.