Have you ever had to work your way through bad software documentation? Couldn’t find what you needed?
Or have you postponed writing the documentation for a project because you didn’t know where to start?
Well if you ever have the chance to setup documentation for a project then you should consider organizing it according to the “Divio Documentation Framework”. It has a number of surprising benefits.
These are the four sections of the framework:
- ๐ฃ Tutorials. Teach a beginner what problem your tool solves and how to get started (e.g. installation instructions and a hello world example). They’re learning-oriented.
- ๐ How-to Guides. Are practical steps to solving a problem. It’s like a recipe in a cookbook. They’re goal-oriented.
- ๐ก Explanations. Clarify why and how things work the way they do (e.g. design decisions and their trade-offs). They’re understanding-oriented.
- ๐ Reference materials. Only has one job: to provide facts (e.g. the api). They’re information-oriented.
These are the benefits of having clear lines between the sections in your docs:
- The reader knows where to start reading
- The writer knows where to start writing
- The writer knows when to STOP writing
Don’t understimate that last benefit!
Because from my personal experience, not knowing when to stop writing is just as big a hurdle to sharing a piece of writing as not knowing where to start.
Read more about the framework here: https://documentation.divio.com
React on twitter:
I'm a fan of the @divio documentation framework ๐ค Here I explain why. pic.twitter.com/cKOhSZwx5I
— Rens Dimmendaal (@R_Dimm) January 8, 2022