Four content types
The Diátaxis framework defines four types of documentation based on what the reader needs:
Use these categories as strictly or loosely as your team needs. What matters is that you can say what each page helps its reader accomplish.
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, the page stops matching what the reader came for. Someone who came to do something ends up reading an essay. Someone who came to understand something gets a list of parameters. Mixed pages also cause navigation problems. They’re hard to place in a 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.”That prompt gives the tool a type, a reader, and a boundary, so the draft has one job.
Make content types a standing instruction
Instead of repeating content type rules in every prompt, add them to the same places as your reader definition:.mintlify/AGENTS.md for Mintlify’s agent, AI instructions for the editor’s agent, and the instruction files your local tools read.
.mintlify/AGENTS.md
Categorize 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