Skip to main content
This page explains different content types, when to use each one, and how to approach writing for each type.
Documentation should be organized around the specific goal you’re trying to help people achieve.

Categorize using the Diátaxis framework

The Diátaxis framework is a helpful guide for categorizing content based on your audience’s needs. Documentation can generally be mapped into one of these types:
  1. Tutorials: Learning-oriented content for new users
  2. How-to guides: Task-oriented guidance for specific problems
  3. Explanations: Understanding-oriented conceptual discussions
  4. Reference: Information-oriented technical descriptions
Defining content types helps you plan documentation with a clear purpose and makes it easier for users to find what they need.

Picking a type

QuestionTutorialHow-ToReferenceExplanation
What is the user’s goal?Learn through practiceSolve a specific problemFind precise informationUnderstand concepts
What is the user’s knowledge?BeginnerIntermediateExperiencedAny level
What is the primary focus?Learning by doingAchieving a goalProviding informationDeepening understanding
How is the content structured?Step-by-stepProblem-solutionOrganized factsConceptual discussions
Is it task-oriented?Yes, guided tasksYes, specific tasksNo, informationalNo, conceptual
Is it designed for linear progression?YesNoNoNo

Writing for each type

Tutorials (Learning-oriented)

  • Audience goal: Learn something new through step-by-step instructions.
  • Characteristics: Sequential and assumes no prior knowledge.
  • Writing approach:
    • Set expectations of what the user will achieve after reading.
    • Use clear, incremental steps. Minimize choices that need to be made by the user.
    • Point out milestones along the way.
    • Minimize theory and focus on concrete actions.

How-To Guides (Problem-oriented)

  • Audience goal: Perform a specific task correctly.
  • Characteristics: Goal-driven and assumes some prior knowledge.
  • Writing approach:
    • Write from the perspective of the user, not the product.
    • Describe a logical sequence and omit unnecessary details.
    • Minimize context beyond what is necessary.

Reference (Information-oriented)

  • Audience goal: Find details about a product’s functionality.
  • Characteristics: Unambiguous, product-focused, scannable.
  • Writing approach:
    • Be scannable and concise.
    • Prioritize consistency.
    • Avoid explanatory content. Focus on examples that are easy to copy and modify.

Explanation (Understanding-oriented)

  • Audience goal: Expand general understanding of a concept or highly complex feature.
  • Characteristics: Theoretical, potentially opinionated, broad in scope.
  • Writing approach:
    • Provide background context, such as design decisions or technical constraints.
    • Acknowledge opinions and alternatives.
    • Draw connections to other areas in the product or industry.

Tips and tricks

  1. Maintain purpose: Before writing, assign each page a specific content type and make it top of mind in the doc throughout your writing.
  2. Consider content freshness: Regardless of content type, try to optimize for evergreen documentation. If something represents a moment in time of what a feature looks like on a specific date, it’s probably better suited for a changelog or blog post than in your documentation. Or if something changes very frequently avoid putting it in your docs.
  3. Think like your users: Consider different user personas when organizing content. See Understand your audience for more information.
While the Diátaxis framework provides a starting point, successful documentation requires contextual adaptation to your product. Start by understanding the framework’s principles, then adjust them to serve your users’ needs.
I