Documentation style guide
How every page of the Ventra documentation is written, structured and checked before it is published.
The same pages make the website and the PDF guides, so one rule applies to both. The build checks the structure of every page and refuses a page that breaks it; a person checks the wording.
Voice
- Second person, present tense, active voice: "Open Breaks. Select the break."
- Calm and factual. No hype words: say what happens, not how impressive it is.
- Ventra orchestrates and records; the institutions settle and keep custody. Say it that way round.
- British spelling: organisation, tokenisation, authorise.
Sentences and paragraphs
- About 20 words a sentence on average, 30 at most. One idea a sentence.
- Paragraphs of three sentences at most.
Headings
- Sentence case. A how-to title starts with a verb ("Verify a NAV"); a concept title is a noun ("Record of Clearance").
- H2 for sections, H3 rarely, never H4. The page title is the front-matter
title, not a heading in the body. - Fixed H2 names in a how-to, in this order: Before you begin, Steps, Expected result, Stop and escalate, Evidence to keep. "For developers" and "Related" are added from front matter.
Steps
- One action a step. Interface labels in bold, exactly as on screen.
- At most eight steps; split the page otherwise.
Code
- Fenced and language-tagged. Use
CodeTabswith curl and TypeScript where both exist. - Placeholders look like
<restricted-demo-key>. Never a real key, endpoint, account or tenant identifier. - The only base URL is
https://api.ventrahq.tech.
Callouts
| Kind | Use it for |
|---|---|
note | Useful extra information |
important | Something that could cause a wrong result |
stop | A stop condition: cease downstream writes and escalate |
evidence | What to keep as evidence |
boundary | Prototype and legal limits |
At most two callouts a page outside the fixed sections. A concept page that mentions settlement, custody, cash or
a legal basis needs a boundary callout; the build checks it.
Terms
- First use on a page: the full name, then the abbreviation, linked to the glossary with
Term: "Record of Clearance (RoC)", "Ventra Interchangeable Message (VIM)". RoC has no other expansion. - Portal names: Asset Management, DLT Solutions, Audit & Assurance View, Market Maker desk (synthetic). Old portal names appear only in redirects and the changelog.
- Gate verdicts in capitals: PASS, REFER, FAIL.
Wording rules
The wording rules of the repository (AGENTS.md, rule 3) apply to every page, data file and PDF, and the site wording test enforces them. In short:
- No claim of where trades settle, that reconciliation disappears, of regulatory status or of regulatory compliance.
- Never describe Ventra as the party that settles, as a provider of settlement or as a critical provider of ICT services.
- No partnership or integration claim with a real firm. Role-slot codes, never the names of target institutions.
- No availability, uptime or latency figures.
- T+0, atomic settlement and 24/7 trading only as outcomes that Ventra enables for institutions.
- Cash legs are test tokens; wholesale central bank digital money is simulated; the language-model tier is advisory only.
- Real instruments only with "terms modelled on public documents". A legal basis that is not confirmed carries
[verify]. - No statements about a legal entity, its place of incorporation or its legal structure.
Status of a procedure
Every how-to says available (works in the demo portal) or model (an illustrative screen that executes nothing).
Pilot features are not documented here; they have their own help in the desktop application.
Screens
Captured from the current portals, with synthetic data, and stored under /docs-media/<product>/. Numbered
markers (at most three) are set in front matter and drawn over the image, never baked into it. The caption says
when the screen was captured and that values are examples.
Page types
Every page declares a type in its front matter. The build fails when a required part is missing.
| Type | Required |
|---|---|
concept | At least one H2, related links, no numbered steps; a boundary callout when it touches settlement, custody, cash or legal basis |
how-to | Verb-first title; status, screen, roles, and api or apiNone: true; the five fixed H2 sections in order; one to eight numbered steps; a stop callout under "Stop and escalate" |
tutorial | goal, time; H2 "What you need", three to six sections, "What you did", "Next steps" |
reference | At least one H2 (the API reference pages are generated) |
hub | audience and one to six cards |
glossary | One page; the terms live in _data/glossary.yaml |
changelog | One page; the entries live in _data/changelog.yaml, newest first, no ticket numbers |
What a page may contain
Markdown, tables and these components only: Callout, Steps, Screenshot, ApiCalls, Term, CodeTabs,
ForDevelopers, Edition. Attributes are plain text in double quotes. No HTML, no import, no curly-brace
expressions, no image from another site.
Add a page
- Create
content/docs/<product>/<slug>.mdx. The slug is kebab-case English: verb-first for a how-to (verify-a-nav), a noun for a concept (record-of-clearance). Never an internal application code. - Write the front matter:
title,summary(one sentence),type,product(the folder name),order(its place in the left menu),reviewed(the date a person last checked it), plus the fields of its type. - Link other pages with their
/docs/...URL. The build fails on a link to a page that does not exist. - The left menu, the search index and "On this page" update by themselves.
Last reviewed 2026-12-01