Comparison with Diátaxis

Diátaxis by Daniele Procida is a well-known framework for documentation that reaches a similar split by reader need. This page describes how the two compare, in Watership’s own words.

What Diátaxis is

Diátaxis is an approach to documentation that sorts it into four kinds, according to whether the reader is studying or working, and whether they need practical steps or theoretical knowledge. One of its four kinds is the tutorial, a lesson for newcomers. Its author describes it in full at diataxis.fr, which is the place to read about it; this page doesn’t reproduce it.

Credit: Diátaxis by Daniele Procida.

Where the two agree

  • Both start from the reader’s need, not from the product’s structure.
  • Both keep explanation, instructions, and facts on separate pages, and treat a page that mixes them as a page to split.
  • Both separate a lesson for learners from instructions for people who already know what they want. Watership’s tutorial type was added for that reason: core DITA has no tutorial type of its own.

Where they differ

Table 1. Differences between the two
Aspect Watership DITA content model Diátaxis
Basis DITA, an OASIS open standard, with two specializations A framework described by its author, independent of any markup
Enforcement Each type has a grammar; a page that breaks it fails the build Guidance applied by the writer’s judgment, not enforced by tools
Screens A dedicated type, the interface guide, one page per screen No separate kind for screens
Supporting types Glossary entries and troubleshooting, inherited from DITA Four kinds only
Output Structured topics that tools can validate and export, such as types.json Not tied to a format or toolchain

Reading one in terms of the other

A team that knows Diátaxis will find Watership’s concept, task, reference, and tutorial familiar. The mapping is close but not exact: a Watership concept covers explanation of how something works as well as why, and the interface guide is a kind of reference organized by screen. Choose Watership types with How to choose a type rather than by translating from another framework.

How this site treats Diátaxis

Watership describes Diátaxis only in its own words, links to the original, and credits its author. Diátaxis is published under the Creative Commons Attribution-ShareAlike 4.0 license (CC BY-SA 4.0). Its share-alike terms would carry over to anything adapted from it, and Watership’s text is licensed under CC BY 4.0, so this site copies none of its text, diagrams, or artwork. DITA is different: it’s an OASIS open standard, published for anyone to implement.