Last Updated: November 21, 2025
Docs Lifecycle
| Phase | Goal |
|---|---|
Plan
|
Outline scope + audience |
Write
|
Use reusable snippets + templates |
Publish
|
Deploy to Docusaurus/GitBook with status checks |
Commands
npm run docs:gen
Generate swagger or component docs
git diff docs
Review changes before merge
gh-pages deploy
Push static docs site
Maintenance
Track stale pages, assign owners, and highlight edits in release notes.
π‘ Pro Tip:
Treat docs like codeβuse branches, PR checks, and automated tooling to reduce drift.