The four content types
The Diátaxis framework defines four types of documentation based on what the reader needs:| Type | Reader’s goal | Examples |
|---|---|---|
| Tutorial | Learn by doing | ”Build your first integration” |
| How-to guide | Complete a specific task | ”Set up webhooks” |
| Reference | Look up specific information | API endpoint parameters |
| Explanation | Understand a concept | ”How our authentication model works” |
Why mixing types causes problems
Each content type has a different structure, a different level of assumed knowledge, and a different relationship to other pages. Tutorials are sequential and assume nothing. How-to guides assume the reader knows what they’re doing and just need the steps. Reference material is scannable, not readable. Explanations are the only type where depth and context are the point. When you mix them, you break the contract the reader has with the page. They came to do something and ended up reading an essay. Or they came to understand something and got a list of parameters. Neither experience builds trust. The navigation consequences are real too. Mixed-type pages are hard to place in a logical hierarchy because they don’t clearly belong anywhere.The AI problem with content types
AI writing tools don’t default to any particular content type. Given a prompt like “write documentation for our webhook feature,” most AI tools will produce a hybrid: some explanation, some steps, some reference material, blended together. It reads fine, but it serves no reader particularly well and creates navigation headaches down the line. The fix is to be explicit. AI tools respond well to content type instructions:“Write a how-to guide for setting up webhooks. Assume the reader already knows what webhooks are and has already authenticated. Focus only on the steps. No background explanation.”This produces something far more useful than a generic prompt.
Enforce content types in your Mintlify tooling
If your team uses Claude Code, Cursor, or similar AI tools to maintain docs, you can codify content type rules so AI applies them consistently. Add a section to yourCLAUDE.md or Cursor rules file in your Mintlify repository:
Categorizing what you already have
If you’re working with an existing Mintlify site, start with an audit. Go through your highest-traffic pages and assign each one a content type. You’ll likely find:- Pages doing multiple jobs that need to be split
- How-to guides buried inside reference pages
- Tutorials that assume too much prior knowledge
- Explanations that never get read because they’re positioned as onboarding content