Overview
Writing the docs
How this documentation is owned, organized and checked, and where contributors find the full writing rules, page templates and documentation workflows.
This page summarizes how the Amaru documentation is written. The full rules live in the website repository, next to the content they govern.
Content ownership
- This website owns the published pages. Every page is an MDX file under
content/docs/. - Each product repository owns its technical facts. Commands, configuration keys, defaults and
status come from amaru-light and
amaru, read from their
mainbranch and checked against the code. When a page and its repository disagree, the repository wins. - Only what exists is documented. Planned work appears only on the status and roadmap page.
- Each product page links the files it is based on, so you can check the latest version.
How the docs are organized
- Each product is a tab, with sections ordered by what you want to do: get started, use, operate, look things up, contribute.
- Every section starts with a hub page that lists its pages in reading order.
- Each fact has one owner page; other pages link to it.
- Each product has its own terminology: see Amaru Light terminology and Amaru terminology.
The rules and templates
| File | Covers |
|---|---|
| documentation-structure.md | Sections, hubs, page types, page skeleton, title and description limits |
| writing-guidelines.md | Language, terminology, tone, code examples |
| mdx-conventions.md | Components, code blocks, links, MDX pitfalls |
| technical-accuracy.md | Evidence, implemented versus planned, where each fact comes from |
| templates/ | Concept, guide, reference and troubleshooting skeletons |
Repeatable workflows, such as creating a page or preparing the docs for a release, are written as agent skills in .agents/skills/.
Checks
Every change must pass pnpm check: lint, type checks, a link check, a check of the page
conventions, and the production build.
Next steps
- Compare the projects: the context every page builds on.
- Amaru Light reference: an example of a section hub and its pages.