Writing good documentation
19 May 2024
Good developer experience is a must for the suite of dev tool startups, one of the core pillars to this is good documentation. This blog aims to summarise what good documentation looks like and what you can do to get it. This post will focus on end user documentation for products.
What is it?
Technical documentation explains informations about your product. It needs to be clear and to the point. No fluff.
Documentation is a must for people to use dev tools as without it people wonât be able to use for dev tools effectively.
It falls into four different categories.
- Tutorials
- How to guides
- Technical reference
- Explanation
They each resolve a different problem.
- Tutorials: allow new users to get started
- How to guides: show how to solve a problem
- Reference: succinctly describes the machinery
- Explanation: allows deep users to understand the machinery
How to write tutorials (onboarding)
Tutorials are lessons that take the reader through a series of steps to complete a project. They should show to a beginner that they can achieve something with it.
Here are things to consider:
- Allow the user to learn by doing something practical
- Get the user started
- Ensure that the user can see results immediately
- Have concrete actionable steps
- Donât explain anything unnecessary
How to write âHow to guidesâ (how)
These are specifically goal oriented. Think of it like a recipe. Theyâre different to tutorials:
- Tutorials focus on what you want the beginner to know
- How to guides focus on resolving a problem
Heres what to consider:
- Must resolve the problem
- Donât explain concepts
- Well named
How to write references (what)
These have a single purpose: to describe. So just describe and be accurate.
How to write explanations (why)
These focus on helping users understand. What is the bigger picture?
Hereâs what to consider
- What is the context? The why?
- Donât instruct. Just discuss and explain.
What makes documentation good?
Focusing on the user and their problem. Work back to resolve the user story problem.