Documentation types
Seven types: five core types for most documentation, and two supporting types for definitions and problems. Each has a page with its purpose, its required parts, and its rules.
| Type | Group | Built on | DITA element |
|---|---|---|---|
| Concept | Core | DITA topic | <concept> |
| Task | Core | DITA topic | <task> |
| Reference | Core | DITA topic | <reference> |
| Interface guide | Core | DITA reference, specialized by Watership | <interfaceGuide> |
| Tutorial | Core | DITA task, specialized by Watership | <tutorial> |
| Glossary entry | Supporting | DITA concept | <glossentry> |
| Troubleshooting | Supporting | DITA topic | <troubleshooting> |
How the type pages are organized
Every type page has the same parts, in the same order:
- A one-sentence purpose, under the title
- When to use the type, and when to use another
- Its required parts, with the DITA element for each
- The rules a page of that type follows, each linked to the style guide rule it restates
- A link to its worked example
The build reads the purpose, the base type, the required parts, and the cited style guide rules from these pages into types.json, so the data and the pages can’t disagree.

