Naalya Handbook

Writing standard

How to write and review handbook pages so they stay accurate, human, and safe for school data.

Use this page when you add or change a handbook page. It is the contributor standard for this site. Diátaxis, the Google developer documentation style guide, the Microsoft Writing Style Guide, GitLab’s topic templates and global navigation guide, and published navigation guidance from Mintlify and Fern informed it. They are writing guidance. They are not facts about the Naalya platforms.

The handbook already has an area-based tree (Platform, API, Education Hub, Website, User guide). Keep that tree. Choose a page intent inside it. Do not split a subject into four folders because a framework has four types.

Ask first: how can a reader take this in fastest?

Before you write a section, decide its shape. A page should never read like an audit log or a novel.

If the content isShow it as
Files or foldersA file tree (<Files>, <Folder>, <File>)
Values per item: limits, routes, fieldsA table
Steps in orderNumbered steps (<Steps>)
Parts and how they connectA diagram
Things to checkA checklist
Parallel choices, such as macOS and WindowsTabs
Evidence: commits read, files opened, what was not runOne collapsed Sources and verification accordion at the end

Readers scan the first words of headings, list items, table cells, and paragraphs, and skip the rest unless those words match what they need. Write for that:

  • Put the most useful thing on the first screen. On a phone that is the title, the description, and two or three lines. Open with what the reader most likely came for, such as the page to start with or the outcome of the task. Do not open with "This guide walks you through".
  • Put the keyword first. In a heading, list item, table cell, or paragraph. ## Filter toolbar, not ## The filter; Bursars: fees and payments, not For bursars. A heading that starts with The, How, or What pushes the topic word back. If a heading needs more, add it after a colon: ## Pagination: client or server cursor.
  • Open a paragraph with its point. The first sentence says what the reader learns or must act on; the reason follows. Leave out warm-up such as Notice that or Here's the fork in the road.
  • Name the reader's problem, not the module. On a troubleshooting page or runbook, each entry heading is the symptom the reader sees (Redis or Centrifugo will not connect, not Local infra is missing). On a how-to page, each step heading is a task.
  • Keep siblings parallel. Headings at the same level, list items, steps, and cards in one group share one grammatical shape and one punctuation pattern. If one step heading is Choose the audience, the next is Choose how it is collected, not Collection.
  • Do not stack headings. Put at least one sentence between a heading and its first subheading. Use subheadings only when a section has two or more of them.
  • Keep shared headings shared. When most pages already use a heading such as ## Where to go next, use it too, so readers recognise the landmark.
  • Start each list item differently. Readers skip openings that repeat down a list. Lead with the term, file, or action that tells items apart, in bold when the list is a set of named things.
  • Split a run of rules in a paragraph into a list. Three conventions in one paragraph hide the second and third.

Keep paragraphs to three or four sentences. Quote an error message only when a reader will search for it. Leave out log lines, package hashes, and lists of files read: they belong in the sources accordion or on the audit record, not in the body.

Write headings a reader can scan

Most readers skim the headings, stop at the one that matches their question, and read only the text under it. That works only when the headings carry the page:

  • Make a heading say what the section answers. Which board a notice opens, not Details. How a referral becomes a payout, not How it works. A reader who sees only the headings should know what the page covers.
  • Do not hide a topic in a bold run-in line. If a reader may come looking for it, give it a heading so it shows in the page outline and the table of contents.
  • Use bold for words a scanner should catch, such as a UI label or the one fact that changes what they do. Bold on every other phrase stops anything standing out.

Tables

A reader uses a table to look up one row, so the row has to stand on its own.

  • Use a table only when each item has two or more values. A list of similar items with one description each is a list.
  • Introduce it with a full sentence ending in a full stop, not a colon.
  • Put what identifies the row in the first column: the variable, route, or command the reader is looking for.
  • Make column headers specific. Variable or Error thrown, not Name or Value. Do not leave the top-left header cell empty. Do not write headers that make a sentence with the cell, such as Thrown and Becomes.
  • Fill every cell. Write None, No, or Not applicable instead of leaving a cell empty or using a dash.
  • Do not write Same or As above in a cell. The reader may land on that row alone. Repeat the fact, or move a fact shared by every row into the sentence before the table.
  • Keep cells short and parallel, ideally one line, in the same grammatical form down a column. Few columns read better on a phone. End a cell with a full stop only when it holds a full sentence.

Lists

A list helps only when the reader can see two or three items at once and can tell what the items have in common.

  • Number a list only when order matters. Use numbers for steps and rankings. Use bullets for everything else.
  • Keep a list between two and about seven items. Split a longer list under two headings, or turn it into a table if each item has two or more values.
  • Make every item stand alone. Introduce the list with a heading or a full sentence. Do not make each item finish the sentence before it, such as it tells the model to: followed by search before answering. A translation tool handles each item as its own sentence, and the reader may skim straight to one item.
  • Give every item the same shape. All noun phrases or all full sentences, each starting with a capital letter.
  • Do not end an item with and, or, a comma, or a semicolon. End it with a full stop when it is a full sentence. Leave the full stop off short items of three words or fewer and UI labels.

Phone screens

Many staff read the handbook on a phone about 360 pixels wide, often with a larger font. Write so each part fits that screen:

  • Keep a heading to one short line. A two-line heading takes twice the space. Move a condition or an aside into the text under it: ## Step 7: Switch year or campus, not ## Step 7: Switch campus (if you work across more than one).
  • Keep a paragraph shorter than one screen. A reader should not scroll to finish a paragraph. Give each idea its own short paragraph, and move a cross-reference out of brackets into its own sentence.
  • Keep sections short. A reader can stop at the end of a short section and come back to the same place later.
  • Turn a run of form fields into steps. A list item that names four fields and a button is a procedure hidden in a bullet.
  • Check the order when content stacks. Cards, tabs, and side-by-side blocks move under each other on a phone. Each block must make sense on its own.

Callouts

Readers learn to skip boxed text, so a page full of callouts hides the one warning that matters. Put most facts in the body:

  • Write it in the text first. A fact, a tip, or a quirk of the code belongs in the paragraph where the reader needs it. Bold its opening words if a scanner must catch it.
  • Keep a callout for a risk. Use one when skipping it costs something real: lost work, data that leaks across users, or a change to shared or production data.
  • Use one or two per page at most. Never put two callouts next to each other.
  • Match the type to the cost. warn for something that can go wrong, error for something that will. Do not use info for a fact that can sit in a paragraph.

Who a page is for

Name the reader and the job in the opening: a new engineer setting up a repo, someone looking up a route, someone on call, or a staff member following a product task. Write for that job. Link out when a second job needs a second page.

Microsoft’s developer guidance assumes the reader already knows how to program. Skip language tutorials. Explain the Naalya-specific part.

Page intent

Pick one primary intent. A short lead-in of another type is fine. A page that is a tutorial, a reference, and an opinion essay at once is not.

IntentThe reader isWrite it as
TutorialLearning by doing a safe pathA lesson with one path and a checkable ending
How-toDoing a real job they already understandNumbered steps, goal in the title
ReferenceLooking up a fact while workingDescription. Mirror the code, config, or route tree
ExplanationUnderstanding how pieces fitContext and trade-offs. Link to steps instead of inlining them
TroubleshootingRecovering from a symptomSymptom, cause, and fix for each entry
RunbookResponding to an operational failureImpact, checks, mitigation, resolution, escalation, last verified

A reference page is consulted in pieces while the reader works, so it must look the same everywhere:

  • Describe; do not teach or advise. State what each thing is and does. Leave out tips, opinions, and reasons to prefer one option. Link to a how-to page for steps and an explanation page for reasons.
  • Mirror the thing described. Order sections the way the code, config file, or route tree is ordered, so the reader can move between the page and the source.
  • Name it, then state facts. Lists and tables carry options, defaults, limits, and errors.
  • Repeat one pattern. Every table in a page has the same columns, and every entry in a column is phrased the same way, such as a verb first in a What it does column. Do not vary words for the same thing.
  • Keep firm rules and warnings. Never run this against production belongs on a reference page. This is handy when does not.
  • Keep examples short. One snippet that shows the item in use, not a walkthrough.

Each entry in a reference table or list adds facts the reader cannot get from the name:

  • Say what it does, not what it is called. Start a route's description with a verb that adds to its name: Lists the school's keys, without the hash or the raw key, not The school's keys. Describe a field by what it holds: The UUID of the last row the reader saw, not cursor for afterId.
  • Give the default and the effect of leaving it out. Say whether the value is required, what happens when it is missing, empty, or out of range, and when it is capped or ignored. Write None when there is no default.
  • Name the limits and the surprises. Length limits, trimming or upper-casing, and a value that is accepted but ignored.
  • List errors with the condition that causes them. Use a table with the exact message in the first column and the condition in the second, not a paragraph the reader has to search.
  • Describe a result field by its condition. For a flag or a value that can be null, say when it has each value.
  • Give each route its own row. Two routes in one row cannot each say what they do.

A troubleshooting page is read by someone with a problem in front of them:

  • Title each entry with the symptom. Use the exact message in code font or quotation marks when there is one, or what the reader sees in plain words. Never title an entry with its fix or the code's cause.
  • Give every entry a symptom, a cause, and a fix, in that order and under those labels, or as three columns of a table. The fix is an action the reader can take, not only a place to look. Number the fix when it has more than one step, and link to a how-to page when it needs more than three.
  • Write one entry for each cause the reader can tell apart. When two causes look the same, list the fixes in one entry, most likely first.
  • Give only likely causes and fixes. Suggest asking someone only when that is the most likely fix.
  • Describe the problem, not the reader's mistake. Keep the tone calm: no fatal, illegal, bad, or obviously.
  • Put a lookup table first when a page has more than five entries: one row per entry, with the same symptom wording as the entry heading and a link to it.

Task titles start with a bare infinitive (Run the API locally). Concept titles are noun phrases (Authentication across the platforms). Use sentence case. Do not put links in headings. Do not skip heading levels.

Read the headings on their own: they should work as an outline of the page, because a reader who skips a heading usually skips its section too.

  • Split a section only into two or more parts. One ### under a ## is not an outline. Fold it into the section, or promote it to its own ##.
  • Put text between a heading and its first subheading. Two headings in a row usually mean one of them is not needed. Do not add filler to separate them.
  • Name what the reader does or needs, in their words. Pull requests, not Staging & PR template. A tool name (Husky hooks) belongs in the body unless the reader searches for it.
  • Put the key word first and keep it short. A heading at a lower level is more specific than the one above it.
  • Keep headings at one level parallel. All noun phrases, or all task phrases, not a mix.
  • Write and, not & or +.

Where a page goes

The site has five sections in the switcher at the top of the sidebar: Platform, API, Education Hub, Website, and User guide. Each section is a root folder ("root": true in its meta.json) with its own sidebar, so a reader working in one repository never scrolls past another's pages. Five is the most this site should have. If a new area appears, add it as a group inside an existing section before you consider a sixth section.

Inside a section, the sidebar is grouped by what the reader is trying to do. The order is the order a newcomer needs things: start here, how it works, how to build, then reference and each school feature. Follow these rules when you add or move a page.

  • Keep groups short. About seven entries per group. When a group passes eight, split it by reader task. A long list is hard to scan unless it has a natural order.
  • Keep the tree shallow. A section, a group, and a folder are the most a reader should open. Do not nest a folder inside a folder in the sidebar. The one exception is a closed folder that gathers many feature pages, such as School features in the API section, so the top of the sidebar stays short. Promote a page that people need often instead of burying it.
  • Name groups for the reader. Use a verb phrase for a task group (Build a feature) and a noun phrase for a reference or topic group (Campuses and classes). Keep a label under four words. Use the school’s words, not internal module names.
  • Use sentence case everywhere. Page titles, folder titles, and group labels. Keep product and code names as they are (Education Hub, Rover, AsyncLocalStorage).
  • Make every folder’s index a real page. The first page of a folder introduces what is inside and who it is for. A landing page that is only a list of links does not help a reader choose.
  • List every page. A page that is not in a meta.json has no sidebar entry, and the reader loses their place when they open it. The only exceptions are “this page moved” stubs kept so old links work.
  • Do not move a file to fix the sidebar. Moving a file changes its URL, and this site has no redirect table. Reorder and regroup in meta.json instead. To put existing pages under a new sidebar folder, create the folder with its own meta.json and index.mdx, and list the pages with a parent path such as "../campuses". The pages keep their URLs. content/docs/api/features/meta.json is the example.

Keep the User guide for school staff. A staff guide uses the words on the screen: button labels, tab names, and messages, in bold. It has no code font, no URLs or route paths, no permission pairs such as list on department, no operation ids, and no API error sentences. When you find engineering detail on a staff guide, move it to the matching API page and link to it in one line at the end of the guide. Say "you need permission to..." instead of naming the permission. One commit id in the closing line is enough provenance for a guide.

Tabs inside a page (the <Tabs> component) are for parallel choices on one task, such as the same command for macOS and Windows. They are not a way to split one long page into sections.

Voice

British English for ordinary words (organise, behaviour, licence as a noun). Keep code identifiers as they are spelled in source, including American spellings inside identifiers. program means software. programme means a school programme.

Address the reader as you. Use active voice. Use we only in a tutorial, where the writer walks with the learner. Do not use we to mean the school or the product on a reference or how-to page.

Short sentences. Lists and tables when the reader is scanning. Contractions are fine when they sound spoken. Put the important fact first.

Do not call a task simple, easy, or obvious. Do not write “please” or “note that”.

Write verbs that say what happens now and who does it:

  • Use the present tense. The Hub does not delete a default campus, not will not delete. Keep will for something that happens later in the reader's own task.
  • State facts; give orders only in steps. Explanations and reference use statements. Steps and task headings use the imperative (Enter the campus name).
  • Start with the verb. Cut you can when the sentence means the same without it: Delete from the card menu. Keep it when it states a permission (if you can manage roles). Replace there is and there are with a real subject and verb.
  • Do not hedge an instruction. Run the tests before you push, not We recommend that you run the tests or You may want to.
  • Prefer active voice. Use passive only when the actor is unknown or does not matter (The token is rotated on every refresh), or in an error, where naming the reader would blame them.

Make every word carry meaning. Cut a word if the sentence says the same thing without it:

  • Prefer the short verb. use, not utilise, leverage, or make use of. tell, not let you know. returns, not hands you.
  • Use one word when one will do. to, not in order to. also, not in addition. before, not prior to.
  • Drop filler adverbs. simply, just, really, very, quite, basically, and precisely rarely change the meaning. Keep an adverb only when the sentence is wrong without it.
  • Choose the word with one meaning. because, not since, when you mean a reason. Do not promise work that is not in the code. You may link to a gap on the audit record.

Many readers, staff and engineers alike, read English as a second or third language, and some read the handbook through a translation tool. Write so the sentence has only one possible reading:

  • Use one word for one thing. Pick a name for a concept and keep it on every page. If the screen uses another name, say so once (The screens call a grading scale a **config**), then keep your word in the prose and the screen's word in bold labels.
  • Keep the small words. Write the, a, that, and who even when a native speaker would drop them. Select the folders that you want is easier to parse than Select folders you want.
  • No idioms or slang. Keep an eye on, head to, tweak, handy, backed out, and at a glance do not translate. Say what you mean: check, go to, change, useful, stopped.
  • No stacked modifiers. Break live payment status ledger into a phrase with verbs.
  • Write for example, not e.g. Use only abbreviations the reader already knows, or expand them once.
  • Link at most two clauses with and, or, or but. Split a longer sentence.

Use a technical term only when no everyday word says the same thing:

  • Prefer the everyday word. Can read but not change, not read-only. Label, not badge. Message, not toast. In the User guide, a term from engineering (credential, endpoint, provider, charge) needs a plain word instead.
  • Define a term the reader must use. When the screen shows a term, such as payment gateway or IPN ID, explain it in plain words where it first appears on the page: what it is, and why the reader needs it. Expand the short form in the same sentence.
  • Use the reader's own words. Staff pages use the school's words, such as enrolment, term, and report card. Engineering pages use the words that engineers use, and need no definition of common ones.
  • Do not invent a term. If the screen, the code, or the school already has a word for a thing, use it. A new name makes the reader look for a new thing.

Spell out a short form so a new reader can follow it:

  • Spell it out at its first use on each page, then put the short form in brackets: a computer-based test (CBT). After that, the short form alone is fine on that page. Keep the long form lowercase unless it is a name: role-based access control (RBAC), but Uganda National Examinations Board (UNEB).
  • Skip a short form that appears once. Write the long form only, unless the screen shows the short form in a label.
  • Do not introduce a short form in a title, description, or heading. If a title must use one (Create a CBT exam), spell it out in the first sentence after it.
  • Leave out the long form only when every reader knows the short form, such as PDF, URL, and SMS, or API and JWT on an engineering page. On a User guide page, assume the reader knows none.
  • Do not make up a short form for a Naalya name. Write Education Hub or the Hub, never EH.
  • Make the plural with a lowercase s and no apostrophe: three PDFs, the CBT settings, not PDF's or the CBT's settings.

Format each kind of text one way, so the reader can tell a label from code from a message:

  • Keep bold for screen labels and values the reader enters. Copy a label's capitals from the screen. Do not bold a product or code name to make it stand out.
  • Put anything spelled exactly as in code in code font: functions, classes, fields, enum values, commands, file paths, routes, environment variables, HTTP methods, and permission pairs such as read on subject. Keep the code's spelling and case (localStorage, not local storage), even at the start of a heading. Add () only when you mean the call.
  • Write product, library, and service names in plain text: Education Hub, Redis, TanStack Query. Use code font only for the exact package or import name the reader types, such as @tanstack/react-query.
  • Put a message in quotation marks, not code font, on an engineering page as on a staff guide: the service throws "Combination not found". Copy the words exactly so a reader can search for them. Show a variable part in italics: "Subject name belongs to a different campus". A prompt to an AI model in a sentence also goes in quotation marks.
  • Do not use code font for emphasis.

Write dates and times so every reader takes them the same way:

  • Write dates as 11 November 2026. Do not write 11/11/26, because readers in different countries read the day and month in a different order. Show 2026-11-11 in code font only when that is the value the code stores.
  • Use the 24-hour clock: 03:00, 15:30. Write 00:00 and 12:00, not midnight and noon.
  • Name the time zone. On engineering pages, give the time the code uses, then the Kampala time: 00:00 UTC (03:00 in Kampala). Uganda is UTC+3 all year. On staff pages, give the Kampala time only. Write UTC, not GMT.
  • Write a time range with from and to: from 08:00 to 17:00.
  • Name months or terms, not seasons. Uganda has no summer or winter. Write every day or always, not 24/7.
  • Spell out units of time in prose: 5 minutes, not 5 min. A table cell or diagram label may shorten them.

Use a hyphen only where it stops a misreading:

  • Hyphenate a compound before a noun when it could be misread without one: read-only access, two-step form. Do not hyphenate the same words after the verb: The form has two steps.
  • Never hyphenate after an -ly adverb: fully typed payload.
  • Do not build a new word with a prefix and a hyphen. Write reads the profile again, not re-reads. Keep the hyphen where the word without it means something else (re-sign) or the stem starts with a capital (non-JSX).
  • Write the whole phrase, not a suspended compound: staff-facing and parent-facing pages, not staff- and parent-facing pages.

Use capital letters only where they carry meaning, so a capital tells the reader that a word is a name:

  • Use sentence case everywhere. Capitalise the first word of a page title, heading, sidebar label, card title, link text, and table header, and lowercase the rest: Single documents and singletons, not Single Documents & Singletons.
  • Capitalise proper nouns. Product, service, and feature names keep their own capitals, such as Sanity, Portable Text, Education Hub, and Staff Hub. Other words stay lowercase, even when they feel important (the content model, the API client).
  • Capitalise the first word after a colon in a heading or title. Step 2: Point at the API.
  • Do not use capitals for emphasis. Use bold for a word the reader must not miss, and keep it rare.
  • Keep capitals inside a word only when the name has them, such as GitHub or TanStack. Do not capitalise the words behind a short form unless they are a name: computer-based tests, not Computer-Based Tests.

Write numbers the same way on every page, so a reader can find a value and copy it:

  • Use numerals for values. A limit, a size, a duration with a unit, a percentage, a step number, and anything the reader enters or sees on the screen is a numeral, even under 10: up to 2 MB, Step 3, enter 60. Copy a number on the screen exactly as the screen shows it.
  • Spell out small counts in prose. Write three tabs and one payment, and use numerals from 10. If one count in a sentence needs a numeral, use numerals for all of them.
  • Do not start a sentence with a numeral. Rewrite it (More than 10 PDFs) or spell the number out.
  • Write a range with from and to. Choose a number from 1 to 10, not 1-10 or 1–10 in prose. A table cell may use a short range.
  • Add commas from four digits: 1,000 and 1,499. Years have none: 2027.
  • Write amounts in full with the currency code: UGX 150,000, not 150k or 150K. A translation tool may not understand k, M, or B.
  • Spell out ordinals. First term, not 1st term. Do not write firstly or secondly, and do not use an ordinal in a date.

Write so no reader is left out or put down:

  • Use you, a role, or they for a person you do not name. The teacher saves their draft, not he, she, or he/she.
  • Take example people from the fictional list (Amal O., Dana A., Kai N.). Do not give a person the name of an AI agent (Rover, Bean, Angie, Sarah). Call an agent by its name; the agents keep the pronouns their pages give them.
  • Use neutral technical words: allowlist and blocklist, primary and replica. When the code says whitelist, show that identifier in code font.
  • Do not use ability or health as a metaphor: quick check, not sanity check; placeholder, not dummy. Mention a disability only when it matters to the task.
  • Do not generalise about people, places, or cultures, even kindly.

Evidence

A claim about platform behaviour needs a source you can name: a path and symbol in a repository, an OpenAPI operation, a config key, a test, or a dated check against a non-production environment. Put the evidence in one collapsed accordion at the end (<Accordions><Accordion title="Sources and verification">), not in the body: the commit, the paths and symbols read, and what was not run. Do not invent line numbers.

If you cannot verify a claim, omit it or mark it Status: unverified and say what would confirm it. Do not fill an API list, an error catalogue, or a UI label from memory.

When a page and the code disagree, the code wins. Then fix the page. If a committed OpenAPI file and the code disagree, say so. Do not write as if the implementation matches the file.

This site’s front matter supports title, description, and icon only. Do not add type, owners, status, or last_verified keys. Record verification in the prose and on the audit record. This handbook does not assign page owners.

Procedures

Put prerequisites before steps. Number the steps in the order the reader performs them. Say where the reader is, then what they do. Put the condition before the action (If the file already exists, leave it).

Write each step so the reader knows where to look before they act:

  • Say where, then what. In the sidebar, select **Students**, not Select **Students** in the sidebar. Repeat the place at the start of each new heading, because the reader may land there from search.
  • Say why before how. To open an application, select its **Ref** code. If the goal could make a needed step look skippable, use a colon instead: Save the sign-in details: select **Copy**.
  • Put the result in the same step. Select **Create Guardian**. The **Guardian Account Created** screen opens. Do not make "the screen opens" a step of its own.
  • One action per step. Split a step that asks for two decisions. Small actions in a row can share a step with and then.
  • Start an optional step with Optional:, not (optional) at the end.
  • Put a prerequisite step first. If the reader may need to create something before using it, that step comes before the step that uses it, with a line saying when to skip it.
  • Use verbs that work on any device. Staff use a phone, a tablet, or a computer, so click, tap, and type are each wrong for someone. Use the verb for the job instead:
    • Select a button, link, tab name, row, menu item, or checkbox.
    • Enter a value in a box. Do not write type.
    • Go to a tab, page, or place in the Hub.
    • Open and close a panel, file, or menu.
    • Choose an option that depends on what the reader wants.
    • Turn on and turn off a switch. Clear a checkbox.
  • Do not point with direction words. above, below, and right-hand break on a phone, where the layout stacks. Name the control or card instead.

Format what the screen shows the same way on every page, so the reader can tell a thing to select from a message to wait for:

  • Bold the label the reader acts on, spelled as the screen spells it: Assign role, Pipeline, Overview. Leave off a trailing ellipsis or colon: select Reject with reason, not Reject with reason....
  • Leave out the kind of control. Write select **Add staff**, not select the **Add staff** button, and go to **Roles**, not go to the **Roles** tab. Add the word only when the sentence is unclear without it.
  • Name an unlabelled control by what it looks like, in plain text. the menu (three dots) at the end of the row, not the **...** menu.
  • Put messages in quotation marks, not bold. Confirmations, errors, and empty-list text the reader reads but does not select: you see "Role assigned".
  • Bold a value the reader enters, such as an example title: enter Senior 2 Mathematics Teacher.
  • Bold a status the same way everywhere. Pending, not Pending in one sentence and Pending in the next.

Shape each procedure so it fits a phone screen and ends with the work saved:

  • Give a heading to a task, not to one action. Actions on the same screen share one numbered list. Getting to the right page is step 1 of the task that needs it, not a heading of its own. Start a new heading only when the reader moves to a new place or makes a new decision.
  • Name task headings with a verb and its object, in the same shape as their siblings: Create a campus, Edit a campus, Delete a campus. Use Step N headings only when the reader must do every earlier step first. A new task starts a new list at 1.
  • Make the sentence under a heading add something, such as where to start or what to have ready. Leave it out if it only repeats the heading.
  • Number two or more steps; give one action a bullet or a sentence. A numbered list of one looks unfinished.
  • Write each step as a full sentence, and give each value the reader enters its own step.
  • End with the action that finishes the job, such as select Save Changes, and what the reader sees next. A procedure that stops at the last field leaves the reader to guess whether anything was saved.
  • Keep a procedure to about seven steps. Split a longer one under two task headings.
  • Write a menu path as separate actions: Select **People**, and then select **Guardians**, not **People** > **Guardians**. A screen reader may skip the >.

One primary path. Put another way of doing the same job under its own heading, not as a numbered step. Warn before any step that can change shared or production data.

Each command in a handbook page is one of two kinds:

  • Checked. Someone ran the command and recorded the environment and date.
  • Unexecuted. The command was copied from package.json, a Taskfile, or a workflow, and nobody ran it as part of the doc change.

Say which. Do not describe an unexecuted command as tested.

Code examples

Readers copy a snippet into their own code and change it, so the text around it must tell them what it does, what to change, and what happens next:

  • Introduce each snippet with its purpose. One sentence before the code block says what it does and what it needs, such as a running database or a value from an earlier step.
  • Say which names are yours to change. Mark invented names, placeholders, and example values as examples, so a reader does not search the code for them.
  • Show the result. After the block, say what the reader should see: the output, the screen, the job in the queue, or the build error that the next step fixes. When nobody ran the command, say what the code says will happen and that it was not run.
  • Trim, and say that you trimmed. Keep the lines the reader adds. Mark existing code that stays with // ..., and add (trimmed) to the title when the snippet is part of a real file.
  • Keep commands and explanation apart. Put commands in the block and explanation in the text. Add a code comment only when it explains something the code cannot, never to restate the line.
  • Keep secrets out. No real passwords, tokens, or keys in a snippet. Use YOUR_API_TOKEN or a value the reader generates.

Write a placeholder by who fills it in:

  • <name> for a name the reader chooses, such as a file, branch, or argument: pnpm run migration:generate <name>. Use lowercase words joined by hyphens.
  • {name} for a value the system fills in, such as a route parameter, cache key, or message template: /{school}/apply. This matches the OpenAPI path syntax. Use the field name from the code.
  • YOUR_API_TOKEN for a value in a snippet the reader runs as it is. A shell reads < as a redirect, so do not use angle brackets in a command the reader copies and runs.

API pages

Human pages explain and organise. They do not replace a live OpenAPI document, and they must not silently diverge from it.

For an operation you document in full, include the method and path, what it does, the auth it requires, parameters (name, location, type, required or optional, default, constraints), success status and an example body, the errors that operation actually returns, and idempotency when a retry matters. Use https://api.example.com and YOUR_API_TOKEN. Never a live credential.

Document pagination with the real parameter names, defaults, maximum, and stop condition. Document versioning as it is implemented. If the platforms have no general webhook catalogue, say which receivers exist and which do not. Do not describe a capability the code does not have.

Examples, privacy, and pictures

No real student, parent, staff, or school operational data in text, examples, logs, or images. No secrets, tokens, or production connection strings. Use example.com, documentation addresses, and obviously fictional school names such as Example Secondary School.

Draw it when the reader has to hold a shape in their head: how the apps connect, the order a request passes through, the states a record moves between, or who calls whom. Use a Mermaid code block (```mermaid). It renders on the page, stays searchable, and anyone can edit it in a pull request. Put one sentence before the diagram that says what it shows, and keep the details in the text or a table after it. An architecture or flow page without a diagram is unfinished.

Use Mermaid for steps, sequences, and states. Use an illustrated diagram for the big picture of a system, where icons for people, apps, and databases help a reader find their way. Illustrated diagrams are SVGs in public/images/diagrams/, drawn by the scripts in scripts/diagrams/ with Lucide icons, so they can be edited and redrawn. Embed one as a Markdown image with alt text of 155 characters or fewer.

Screenshots need alt text of 155 characters or fewer, and the following paragraph must still make sense without the image. Do not paste images of code or terminal output. Prefer Mermaid or a short text diagram, with a sentence that states what the figure shows.

Target WCAG 2.2 Level AA for the published HTML. Descriptive link text. Introduce a table in the sentence before it. Header cells. Do not merge cells. Do not rely on colour alone.

A reader chooses a link by guessing what is behind it. Make that guess easy:

  • Use the destination’s title as the link or card title. If the page is called The Staff Hub, the card says The Staff Hub, not Staff Hub in one place and something else in another.
  • Make the description add something. Say who the page is for or what they will find there, such as a route prefix or the jobs it covers. Do not restate the title in other words.
  • Expand a short name the reader may not know. Write CBT exams and then Computer-based tests in the description, not CBT alone.
  • Do not lean on the text around a link. On a phone the reader may see the card without the heading above it. Learn more, here, and this page tell them nothing.
  • Link to a page once per list. Two cards to the same page with different descriptions make the reader wonder whether they are different pages.
  • Use the title in an inline link too, and fix links when a title changes. After you rename a page, search for its path and update every link and card that shows the old title.
  • Name the area when a title is shared. Several areas have a Getting started or Authentication page. Link to API getting started or Education Hub authentication.
  • Use words, never an address, as link text. the [Bun website](https://bun.sh), not [bun.sh](https://bun.sh). A screen reader spells an address out.
  • Say when a link leaves the handbook. Name the site: the [installation guide on the Task website](https://taskfile.dev/installation/). Link out for what the tool owns, such as how to install it, and explain the Naalya part on the handbook page.
  • Describe what an image-only link does. Its alt text says where it goes (Open the Staff Hub), not what the picture shows.

Show a web address so the reader can copy it exactly:

  • Put an address the reader types or copies in code font, whole, with its protocol: http://localhost:5173, not bold and not localhost:5173. Leave off a trailing slash unless the server needs it.
  • Do not end a sentence on a bare address. A full stop after it looks like part of it. Move the address earlier, or give the main address of a step its own code block.
  • Do not hide an address in a code comment. The reader cannot select it there. Put the link in the sentence before or after the block.
  • Say website address on a staff guide. Engineering pages may say URL. Write a URL, not an URL.

Some readers listen to a page through a screen reader, and many read it on a small phone with large text. Write so the page still works when it is read aloud:

  • Read the paragraph aloud. If you run out of breath, split the sentence. Aim for one main verb in each sentence, and keep paragraphs to a few sentences.
  • Spell out symbols in prose. Write and, plus, and about, not &, +, and ~. A screen reader may skip a symbol or read it out as a word that makes no sense. Symbols are fine in code, and in a label that the screen shows with the symbol.
  • Do not break a line inside a sentence or paragraph. A forced break (<br />) lands in the wrong place when the text is resized. Mermaid node labels are the exception.
  • Do not use a location word as the only clue. left sidebar and top right mean nothing to a listener. Name the part of the screen, such as the sidebar or the year menu, or the label the reader looks for.
  • Put the person first. Write about people by their role (a teacher, a parent), and say a student who uses a screen reader, not a label for a group.

Keep existing URLs working. This site has no redirect table in source. If you must retire a page, leave a short page at the old path that points to the replacement, until a redirect mechanism exists.

Review checklist

Before you open a handbook pull request:

  • The primary reader and job are named, and the page has one primary intent.
  • An existing page was extended if that was the right home.
  • A reference page only describes, mirrors the code's structure, and links to how-to pages for steps.
  • Behavioural claims cite a path and symbol, or they are marked unverified.
  • Headings, paragraphs, and list items start with the words that carry the meaning.
  • On a reference page, every table uses the same columns and the body describes without advising.
  • Steps are ordered, with the condition before the action, the place before the action, the verb that works on any device (select, enter), and the result in the same step.
  • Each step heading names a task, one action is not numbered, no lead-in repeats its heading, menu paths have no >, and each procedure ends with the action that saves the work.
  • Troubleshooting entries are titled by the symptom and give the cause and the fix.
  • Each reference entry says what the item does, its default, its limits, and the errors it causes, without repeating its name.
  • UI labels and statuses are bold, messages are in quotation marks, and no label carries button, tab, or a trailing ellipsis.
  • One word is used for each concept, with no idioms, slang, or e.g.
  • Short forms are spelled out at first use on the page and never introduced in a heading.
  • Code is in code font as the code spells it, messages are in quotation marks, and product names are plain text.
  • Prose is in the present tense, instructions are not hedged, and nothing assumes a gender, ability, or culture.
  • Dates read 11 November 2026, times use the 24-hour clock with a time zone, and hyphens appear only where they prevent a misreading.
  • Technical terms appear only when no everyday word fits, and each one the reader must use is explained in plain words where it first appears.
  • No filler adverbs (simply, just, very) or wordy phrases (in order to, utilise).
  • Examples use fictional data. Commands say whether they were run.
  • Values, limits, and entered numbers are numerals, small counts in prose are words, and ranges use from and to.
  • Each code block has a sentence before it that says what it does, and a result after it.
  • No real personal data, secrets, or production payloads.
  • Headings are sentence case, hierarchical, and free of links. They read as an outline with no lone subheading, sibling headings share a shape, and each starts with the keyword.
  • Reading only the headings tells you what the page covers, and no topic hides in a bold run-in line.
  • The first screen tells the reader what they came for.
  • Headings fit one short line, and no paragraph is longer than a phone screen.
  • The page has no more than two callouts, none next to each other, and each one warns about a real risk.
  • Lists are numbered only when order matters, and each item stands alone with no trailing and, or, or semicolon.
  • Every table cell is filled, headers are specific, and the row label is in the first column.
  • Titles, sidebar labels, card titles, and link text are sentence case, with capitals only for names.
  • Link and card titles match the destination title, and each description adds something.
  • No address is used as link text, links that leave the handbook name the site, and addresses the reader copies are in code font with their protocol.
  • Read aloud, each sentence has one main verb, prose has no &, +, or ~, and no location word is the only clue.
  • New pages are listed in the folder meta.json and linked from a parent page.
  • The sidebar group the page joined still has eight entries or fewer.
  • node scripts/check-docs-links.mjs passes.
  • The docs build passes, or the failure is unrelated and recorded.

Further reading

These are the sources behind the navigation, heading, phone screen, callout, procedure, code example, word choice, number, capitalisation, short form, date, hyphen, link, address, troubleshooting, reference entry, inclusive language, and scanning rules on this page. Read them when you plan a larger change to the sidebar, a long how-to, or a landing page.

On this page