Writing Documentation
Writing Documentation
Follow these guidelines to maintain high-quality, user-centric documentation.
Core Philosophy
We follow the Action-Oriented approach. Users visit documentation to solve a problem, not to read a novel.
- Result First: Tell the user what they will achieve in the first sentence.
- No Fluff: Minimize conceptual explanations.
- Declarative over Procedural: Don’t say “Step 1: Do this”. Show the configuration and say “Apply this”.
Formatting Rules
Steps
Avoid numbered headers like ## 1. Step Name.
- Use standard markdown headers (
##or###). - Group code and commands logically.
Code Blocks
All multi-line code blocks MUST include a filename attribute.
Correct:
config.yaml
apiVersion: v1
kind: PodHeadings
- Titles should be verbs (e.g., “Run Tests” not “Tests”).
- Keep hierarchy flat.
- No Prerequisites Sections: Mention dependencies inline or assume the user has the basics (Cluster, CLI).
Tone
- Direct: “Run this command” (Imperative).
- Confident: Avoid “please”, “maybe”, or “we recommend”.