Currently Available: Need a skilled Software Developer for your next project?
Categories
Laravel

Write Documentation at the Reader’s Level

A reader’s job title and general experience do not show what they know about a particular tool, product, or task. An experienced developer may still be learning your command-line tool, while a new user may already understand the technical ideas behind it.

Write for what readers need to do and what they know about the subject. Explain what they need to continue, define unfamiliar terms, and make familiar information easy to scan or find. This helps readers finish tasks without making them read basics they already know.

Identify the reader’s task and knowledge gaps

Before you draft, decide who will use the page, what they need to do, and what they are likely to know about this subject. Treat a broad label such as “beginner” or “expert” as a starting point, not a full description of your readers. Google’s audience guidance focuses on readers’ tasks and knowledge of the subject, which can differ from their general technical experience.

For example, a developer who knows programming but has never used your service may need the authentication steps explained. They probably do not need a definition of an API, but they do need to know which credentials the service expects and where to provide them. An audience statement can make those assumptions explicit:

A developer integrating the service for the first time needs to send an authenticated request. They understand HTTP requests but may not know this service’s credential format.

Use a short set of questions to shape a page:

  • What should the reader be able to do or understand afterward?
  • What knowledge can you reasonably expect them to bring?
  • Which terms, assumptions, or steps are new or easy to misinterpret?
  • What conditions could prevent the instructions from working?

Answering these questions before writing helps prevent the “curse of knowledge”: experts can overlook details that seem obvious to them but are new to a reader.

Choose a page format that fits the reader’s goal

A page’s purpose determines how much background it needs and how to organize it. The Diátaxis framework describes four common needs: learning through a guided tutorial, completing a task with a how-to guide, looking up facts in a reference, and understanding a concept through an explanation.

Use the format that matches what the reader came to do. A tutorial should guide someone through an activity while building understanding. A how-to guide should focus on the steps needed for a defined outcome. A reference page should make details such as parameter meanings easy to find. An explanation should clarify how something works or why it behaves a certain way.

Some pages need to combine formats. A setup guide, for example, might briefly explain an unfamiliar setting before giving the steps. Keep that context close to the step it supports, and link to a longer explanation when readers may want more background. Split content when readers with different goals would otherwise have trouble finding what they need.

Explain unfamiliar terms without losing precision

Use standard technical terms when their meaning matters to readers. Define an unfamiliar term the first time it matters, then use it consistently. Microsoft’s word-choice guidance recommends clear, consistent terminology and definitions that help readers understand technical language.

For example, a guide might say, “A token is a string of credentials that the service uses to verify a request.” Then use “token” consistently rather than switching among vague alternatives such as “key,” “code,” and “credential” if those terms mean different things.

State assumptions where they affect the outcome. If a command requires a particular permission or a prior configuration step, explain that before the reader reaches the command. Use an example when a concept is abstract, and show what the reader should expect to see when the evidence supports it. Concision should remove unnecessary repetition while retaining details that prevent errors or clarify a technical distinction. Microsoft’s style guidance recommends everyday wording while preserving the technical meaning readers need.

Put task-critical information where readers need it

Readers often arrive with a specific question, so make the page easy to scan. Use headings that describe the content beneath them, group related information, and put prerequisites before the steps they affect. Separate instructions from optional background when readers need to follow the steps while working.

When you write instructions, give each step one action if that makes the sequence easier to follow. Tell readers what to do and what should happen next. If a step fails, describe the condition and what readers can check, such as an error message or setting, when you know that information. Do not send readers to another page for a detail they need to finish the task.

The Office for National Statistics guidance on user needs recommends prioritizing reader needs and structuring content around them. In practice, that means leading with the information most readers need, then placing less common details or deeper background later.

Test whether readers can use the page

Ask people who resemble the intended audience to complete a realistic task using the documentation. Watch where they pause, what they misunderstand, whether they finish, and what information they expect to find. Their behavior can reveal gaps that an expert review misses.

Use subject-matter experts to check technical accuracy, and use representative readers to check whether the page works for its audience. These reviews answer different questions. A 1992 study of software user documentation found that a revised document performed better on three of four objective measures and seven of nine subjective ratings in that study. The results varied by task, so they support user-informed revision in that context rather than a universal promise of improvement. The study’s record describes the measures and findings.

Readability scores can flag wording that deserves review, but they do not establish whether a technical page serves its readers. Test real tasks and revise the passages that cause confusion or failure.

Review documentation as the subject changes

A page can become inaccurate when the product, workflow, or audience changes, even if it matched readers when you wrote it. Review the page when the documented behavior changes. Use reader feedback or site analytics to find pages that are hard to find or use. Remove duplicated material if it creates conflicting instructions, and keep one clear location for information that needs to stay consistent.

For web documentation, check the structure and accessibility of the page as well as its wording. The GOV.UK accessibility testing guidance recommends combining checks with testing by disabled users and assistive technologies. The specific legal requirements depend on the organization and jurisdiction, so verify which standards apply to your service.

What I'm building

Delegate tasks. Get software.

Give Vroni a GitHub issue, bug report, spec, or rough idea. It reads the repo, plans the change, writes code, runs checks, and works toward a review-ready pull request.

Take a look at vroni.com

Email updates

Usually a new article and a few links I found interesting.

No spam. Unsubscribe with one click.

Leave a Reply

Your email address will not be published. Required fields are marked *