miniblog.

← Back to all posts
13
There are docs resources like https://diataxis.fr/ that categorise documents based on format and intended audience. They don't say where you should start, or what order you should write docs. I'm currently thinking README > reference > tutorial > how-tos. Agree/disagree?

3 Comments

@wilfredh for a project that doesn't have many users but you want more, I can imagine the tutorial being more useful than the reference. An arrogant "the source code is the reference" is probably easier to get away with than "the source code is the tutorial".
I don’t know where “examples”, fits in here, but I find them to be extremely useful when learning a new library or programming language.
@wilfredh there’s the diataxis “workflow” page which generally argues against a strict plan of work what i often find in a new-ish project that writing the introductory documentation (the first examples in the readme, a tutorial) flags up rough edges that require work elsewhere it helps to have fairly tight coupling between writing user-visible features and reference documentation, because writing the docs helps to get away from code-focus blinkers not at all linear, at least when i do it!