15 STRUCTURE · Information shaped like the task
Make the goal the menu.
You will learn how to organize documentation around what readers want to do, with concepts and reference one click away. It takes 4 minutes.
TASK See the problem in 30 seconds
The clip starts with API docs sorted by system parts, then breaks them into pieces and re-sorts them by goal. Watch where the pieces land.
CONCEPT Why goal-first docs work
THE NAME FOR IT
ISO/IEC/IEEE 26514 Information for users
ISO/IEC/IEEE 26514 · Design and development of information for users
Software documentation should lead with the tasks users want to do, and link out to concepts and reference.
People don't open documentation to learn how a system is built. They open it with a goal: sign in, get a token, fix an error. If the docs are sorted by system parts, every reader has to translate their goal into your architecture before they can start.
Sorting by goal moves that translation into the docs. Each piece of content gets a type:
- Task: steps to reach a goal. This is what the menu lists.
- Concept: background that explains why. Linked from the tasks that need it.
- Reference: facts to look up, like fields, codes and limits. Also linked from tasks.
Concepts and reference still matter. They just aren't the front door.
TASK See a before and after
EXAMPLE DOCS · BEFORE
DOCS
- Authentication Architecture
- Token Objects
- Session Management
- OAuth Flows
- Error Codes
- Rate Limiting
Organized the way the system is built. Your goal is "call the API." Which one do you open first?
EXAMPLE DOCS · AFTER
WHAT DO YOU WANT TO DO?
Same content, broken into pieces and sorted by the user's goal. Concepts and reference hang off the tasks that need them.
Here's one task topic from the new menu. It's short, it starts from what you already have, and it links out instead of explaining everything inline.
EXAMPLE DOCS · ONE TASK TOPIC
TASK Refresh a token
Before you start: you have a refresh token from Get a token.
- Send this request:
POST /oauth/token grant_type=refresh_token refresh_token=<your refresh token>
- Use the new access token in your requests.
Result: requests work again.
CONCEPTS AND REFERENCE: Concept: Session lifetime · Reference: Error codes
TAKEAWAY
People arrive with a goal.
Make the goal the menu.
TASK Reorganize your own docs
- List the top five goals readers arrive with. Use support tickets and search logs, not your table of contents.
- Break your existing pages into pieces. Label each piece task, concept or reference.
- Make one task topic per goal. Give each one steps and a result.
- Link the concept and reference pieces from inside the tasks that need them.
- Make the task list your docs' front page.
TASK Have your agent do it
Reorganize the documentation below around user goals, following ISO/IEC/IEEE 26514. 1. List the 3 to 7 goals a reader most likely arrives with, in the reader's words. 2. Split the content into pieces and label each one TASK, CONCEPT or REFERENCE. 3. Write one task topic per goal: prerequisites, numbered steps, the expected result. 4. Under each task, link the concept and reference pieces it depends on. Don't paste them inline. 5. Output a front page that is just the list of goals. Documentation: [paste here]
What good output looks like: a short goal menu as the front page, task topics with steps and results, and concept and reference pieces linked rather than repeated.
Sources
- ISO/IEC/IEEE 26514:2022, Systems and software engineering, Design and development of information for users.
- The task, concept and reference split is also the core of DITA, the OASIS standard for structured documentation.
- The API docs are an invented example.