Docs Writing Standard
February 5, 2026 ยท View on GitHub
Purpose
Define consistent structure, markdown style, and explanation patterns for project docs.
Core Principles
- Lead with user outcome, then steps, then edge cases.
- One page should have one clear intent.
- Prefer short concrete statements over broad prose.
- Use stable terms (
AndroidMenu,Build Variants,run.config_path) consistently.
Page Type Templates
Start Pages
Use sections in this order:
PurposePrerequisitesSetuporStepsValidate(how to confirm success)Next steps
Guides
Use sections in this order:
PurposeDefault behaviororMental modelControlsorEntry pointsRecommended flowRelated docs
Reference Pages
Use sections in this order:
ScopeDefinitions/TablesExamplesRelated docs
Troubleshooting Pages
Use sections in this order:
How to use this pageBaseline checks- Symptom blocks (
Quick checks,Fix) Related docs
Markdown Conventions
- Keep headings concise and in Title Case.
- Use numbered lists (
1.style) for procedures. - Use tables for command/keymap/item inventories.
- Wrap commands, paths, options, and key names in backticks.
- Prefer fenced code blocks with language identifiers.
- End pages with a
Related Docssection.
Explanation Pattern
Use this order for each important concept:
- What it is
- Why it matters
- How to use it
- How to validate it
- Where to go next
Link and Move Policy
- Keep canonical pages in the new docs structure.
- Keep legacy path pages as redirects while external links still depend on them.
- Update
docs/README.mdwhenever docs paths or ownership change.