Nobody reads a troubleshooting page from the top. People arrive with something already broken, often a little annoyed, and they scan for anything that looks like what's on their screen. If they can't spot it in a few seconds, they leave and search somewhere else.
That's why I edit troubleshooting sections differently from the rest of a doc. The question isn't "is this well written?" but "can someone with this exact problem find this entry and get unstuck?" These are the changes I make most often.
Phrase headings as symptoms
Drafts often have headings like "Authentication issues" or "Configuration". Those are categories, and they describe how the writer organises the product. Readers don't think in categories. They think "I can't log in" or "the build stops halfway".
So I rewrite each heading as the thing the reader sees: "Login page reloads after you enter your password", "Build stops at 'Resolving dependencies'". If there's an exact error message, I put it in the heading, word for word. People copy error text into search, and they use Ctrl+F on the page with it. An entry called "Token problems" won't match "401 Unauthorized", but an entry with that text in the heading will.
One problem per entry
A common draft pattern is an entry that covers three problems because they share a cause. The reader with the second problem has to read the first one to find out it isn't theirs. I split them. Two short entries with a link between them are easier to use than one long entry with a list of "if this, then that" paragraphs.
The reverse also happens: one symptom with several possible causes. I keep that as one entry, but I list the causes in the order of how likely they are, or how easy they are to check, and give each its own fix.
Symptom, cause, fix, check
Inside an entry, I use the same order every time:
- Symptom: what the reader sees, in the heading and maybe one more sentence of detail.
- Cause: one or two sentences on why it happens. Short, but not skipped. Knowing the cause helps people decide whether the entry really fits their case, and it stops them from trying the fix on the wrong problem.
- Fix: the actual steps, in the same style as any other procedure in the docs.
- Check: how to tell the fix worked. This is the part drafts leave out most. "Run the command again" isn't enough. I want what they should see: the version number prints, the page loads without the banner, the log line no longer appears.
When every entry follows the same order, readers learn where to look after the first one.
Link out instead of repeating
If the fix is "reinstall the client" and there's already a full installation guide, I don't copy those steps into the troubleshooting page. Copies get out of date, and soon there are two versions that disagree. I write one sentence about what to do and why, then link to the guide, ideally to the exact section.
I do repeat something when it's a single short command. Sending someone to another page for one line is more annoying than the duplication is risky.
A template for one entry
This is the skeleton I give writers. On a real page the command would sit in a fenced code block; here it's indented so the example stays readable:
### "Error: config file not found" when you start the app The app stops right after launch and prints this error in the terminal. **Cause:** The app looks for `config.yaml` in the folder you run it from, not in the folder where it's installed. **Fix:** Go to the project folder and start the app from there: cd my-project myapp start **Check:** The terminal shows "Server running" and no config error. If you moved the config file on purpose, see [Custom config locations](configuration.md#custom-locations). A quick check for incomplete entries
On longer pages, entries drift. Someone adds a quick fix during a release week and skips the cause. This script reads a Markdown file, treats each H3 as an entry, and reports any entry without a Cause or Fix label. It accepts bold labels, plain "Cause:" lines, or H4 headings, counts "Solution" as a fix, and skips fenced code blocks so comment lines in shell examples aren't read as headings:
import re import sys FENCE = "`" * 3 HEADING = re.compile(r"^(#{2,3})\s+(.*)") LABEL = re.compile(r"^(?:#{4,6}\s+|\*\*)?(cause|fix|solution)\b", re.IGNORECASE) NEEDED = {"cause": "Cause", "fix": "Fix"} entries = [] in_code = False with open(sys.argv[1], encoding="utf-8") as f: for number, line in enumerate(f, start=1): if line.strip().startswith(FENCE): in_code = not in_code continue if in_code: continue heading = HEADING.match(line) if heading: if len(heading.group(1)) == 3: entries.append({"line": number, "title": heading.group(2).strip(), "found": set()}) else: entries.append(None) continue label = LABEL.match(line.strip()) if label and entries and entries[-1] is not None: word = label.group(1).lower() entries[-1]["found"].add("fix" if word == "solution" else word) problems = 0 for entry in filter(None, entries): missing = [NEEDED[key] for key in NEEDED if key not in entry["found"]] if missing: problems += 1 print(f"line {entry['line']}: {entry['title']}") print(f" missing: {', '.join(missing)}") print(f"entries to check: {problems}") Save it as check_troubleshooting.py and run it on the page:
python3 check_troubleshooting.py troubleshooting.md The output looks like this:
line 18: The build hangs at "Resolving dependencies" missing: Cause, Fix entries to check: 1 It only checks that the labels are there, not whether the cause is right or the fix works. That part is still a person's job.
My last test for a troubleshooting page is simple. I take a real error message from a support ticket or a chat thread, search the page for it, and time how long it takes to reach the fix. If I have to read more than one entry to get there, the headings need another edit.

