The Diátaxis framework is a way to structure and write Documentation by clearly separating it into four distinct types, based on the user’s goal rather than the subject matter:

  • Tutorials
  • How-to Guides
  • Explanation
  • Reference

The Diátaxis framework was created by Daniele Procida and is widely used in technical documentation, e.g., see GatsbyJS Documentation. At its core, Diátaxis answers the question: “What is the user trying to do right now?

Overview

PropertyTutorialsHow-to guidesReferenceExplanation
What they doIntroduce, educate, leadGuideState, describe, informExplain, clarify, discuss
Answers the question“Can you teach me to…?”“How do I…?”“What is…?”“Why…?”
Oriented toLearningGoalsInformationUnderstanding
PurposeTo provide a learning experienceTo help achieve a particular goalTo describe the machineryTo illuminate a topic
FormA lessonA series of stepsDry descriptionDiscursive explanation
AnalogyTeaching a child how to cookA recipe in a cookery bookInformation on the back of a food packetAn article on culinary social history