Documentation maintenance
For dependency update PRs and deferrals, see Dependabot maintenance.
When to update documentation
Update docs in the same pull request as the behavior change when you:
- Add or remove Nx targets or change
nx.jsondefaults - Change CI workflows (affected detection, lint commands, release steps)
- Add a new plugin or theme (include
docs/index.mdand labeler entries) - Rename a plugin or theme (folder slug, Nx name, Composer name,
tag.ymloptions — see Renaming a plugin or theme) - Change tagging, Composer, or deployment assumptions
Ownership
- Contributors are responsible for keeping package-local docs (
plugins/<slug>/docs/,themes/<slug>/docs/) accurate. - Maintainers / platform own root workflows, GitHub Pages, and secrets (PATs for mirrors if used).
- No silent TODOs — If something is blocked, add a short note with next step and who should unblock (team name or role), or create an issue and link it.
How to edit the docs site
- Monorepo guides — Edit Markdown in
docs/*.md(this folder). - Package docs — Edit files under
plugins/.../docs/orthemes/.../docs/; runpnpm docs:devto preview. - Navigation — New top-level pages must be registered in
docs/.vitepress/config.mts(sidebar and nav). - Generated output — Never commit hand-edits under
docs/content/; it is produced bytools/sync-docs.mjs.