Writing documentation people actually read

Structure first, prose second

U
• 1 minute
Writing documentation people actually read

Documentation fails for a boring reason: readers arrive with a question, and the document answers a different one. Reordering around the reader's question fixes more than any amount of editing.

Lead with the answer

Put the outcome in the first paragraph. Context, history and edge cases belong after the reader already has what they came for.

Write the headings as questions

Headings that read like a table of contents force the reader to translate them. Headings that read like the question in their head let them skip straight to it.

  • How do I install it? beats Installation.
  • Why is my key rejected? beats Authentication errors.

Show one working example early

A single complete example is worth several paragraphs of description. Readers will copy it before they understand it, which is fine — they learn from the edit that follows.

Documentation should be accurate on the day it is written and obviously specific about what it cannot know yet.

Delete the parts nobody finishes

Check the drop-off point. Whatever sits after it is either in the wrong place or unnecessary, and both are cheaper to fix than adding more at the end.