Skip to content

Documentation style

How we write and illustrate the Tocharian AI documentation. Audience: anyone who writes or reviews docs, people and coding agents alike.

Three sources, each for one layer:

LayerSourceWhat we take
Tone and choicesApple Human Interface Guidelines: clarity, deference, depthResult first, then how it works. Progressive disclosure: each level answers only what its reader needs now. Cut what does not help the reader. Show the interface instead of describing it.
StructureDiátaxis: tutorials, how-to guides, reference, explanationEach page has one purpose and never mixes the four.
DetailStripe’s developer documentationExamples that run as written. Every option with its type and default. Error messages that lead to a fix.

Apple’s restraint decides what we leave out; Diátaxis and Stripe make sure what stays is exact. Where they conflict, exactness wins in reference pages and restraint wins in the README and tutorials.

README.md what it is, one picture, key features, supported versions,
three-step quick start, editions, links, license
CHANGELOG.md
docs/
getting-started.md tutorial: install, add a model, ask the first question
user-guide.md how-to: conversations, evidence, background investigations,
charts, data catalog and knowledge, confirming changes
admin-guide.md how-to + reference: kibana.yml, privileges, models, masking,
license, storage, audit dashboards, upgrade, uninstall
security-privacy.md explanation: data flow, what the model sees, masking, privileges
api.md reference: automation API, Workflows step
page-awareness.md reference
kibana-versions.md reference
troubleshooting.md how-to: symptom → cause → fix
development/ building, testing, releasing, this guide
images/

The README stays short: a reader decides in one screen whether the plugin is for them and how to start. Everything else is one link away.

  • One reader per page. Say at the top who it is for (user, administrator, developer).
  • First sentence says what the reader gets, not how we built it.
  • Titles are tasks or questions: “Mask sensitive fields”, not “Masking”.
  • Short sentences, active voice, present tense. Second person for instructions.
  • No “simply”, “just”, “easily”, “powerful”, “seamless”. Show it instead.
  • One term per thing. Use the glossary below; never alternate synonyms.
  • State limits plainly and close to the feature: prerequisites, editions, Kibana versions, what does not work.
  • Only the current release. No roadmap, no promises, no internal history (earlier internal names and versions stay out of public docs).
  • Examples run as written. Use Kibana’s sample data (kibana_sample_data_logs, _flights, _ecommerce), localhost, and placeholders like <password>. Never a real host, IP address, customer, user name or key. In running text outside code, write a placeholder as &lt;n&gt;: GitHub drops a bare <n> as an unknown HTML tag.
  • Reference pages are complete and dry: every setting with type, default and effect; mirror the product’s own structure.
  • English only, like the UI.
TermMeaningNot
dataseta data stream, index, alias or index pattern the plugin profilessource, table
profilewhat the plugin knows about a dataset: purpose, fields, values, time range, sensitivityschema
evidencea query the answer relies on, with its hit count and resultsproof, citation
knowledgenotes and field meanings people addmemory
investigationa question run on the server, in the background or through the APIjob, task
conversationthe questions and answers of one threadchat session
maskingreplacing sensitive values before the model sees themredaction, anonymization
code namea stable stand-in for a masked value, such as EMAIL_3fa2c1d0token, alias
read-write modeproposals the user must confirm before anything changeswrite mode

tools/docs/screenshots.sh starts a temporary Elasticsearch and Kibana where the release check runs, installs the plugin, loads Kibana’s sample data, starts the built-in trial for the licensed features, and takes every picture with Playwright. Never take screenshots on a production or customer system. Re-run the script after any UI change; pictures are never edited by hand.

  • Kibana 9.5.2 (Borealis theme). The docs note once that 8.x looks slightly different and works the same.
  • Answers come from a real model so they read naturally; the key stays on the machine that runs the script.
ItemRule
Window1440×900 CSS pixels, no browser chrome, Kibana at 100%
Pixel density2× (images are twice their display width)
Full-window shotsOnly where the reader must see where they are: the README picture and up to three more
Cropped shotsEverything else: the flyout, a card, a settings block. At most 880 CSS pixels wide (GitHub’s text column), 24 px margin
FormatPNG, optimised, aim for 300 KB or less
AnimationOne GIF for the README: 800 px wide, 10–12 fps, 15 s or less, 6 MB or less
ThemesLight and dark of every picture, shown with <picture> and prefers-color-scheme
Namesdocs/images/<name>.light.png and <name>.dark.png, names from the shot list
FramesNo device frames, shadows or rounded corners
AnnotationsAvoid. Explain in the text under the picture. If needed, numbered dots in one accent colour
Alt textEvery image: what it shows, in one sentence
<picture>
<source media="(prefers-color-scheme: dark)" srcset="docs/images/evidence.dark.png">
<img alt="An answer with its evidence: the ES|QL query, 1,284 hits and the result table" src="docs/images/evidence.light.png" width="880">
</picture>
#NameTopicUsed in
1dashboard-flyoutFlyout on a dashboard: question, answer with evidence and a chart (also the GIF)README
2settings-modelSettings: add a model, connection worksgetting-started
3first-questionFirst question and answer in the appgetting-started
4evidenceEvidence expanded: query, hits, tableuser-guide
5context-previewWhat Tocharian AI seesuser-guide, security-privacy
6dashboard-insightsDashboard insights: spikes and dropsuser-guide
7answer-panelDashboard panel inside an answer, Open in Lensuser-guide
8discover-tabDiscover document tabuser-guide
9investigation-reportBackground investigation reportuser-guide
10conversationsConversations menu, edit and ask againuser-guide
11dataset-profileDataset profileuser-guide
12field-sensitivityField sensitivityadmin-guide
13knowledgeKnowledge notesuser-guide
14maskingMasking: code names to the model, real values to the usersecurity-privacy
15confirm-dashboardConfirmation card: dashboard previewuser-guide
16confirm-caseConfirmation card: new caseuser-guide
17licenseLicense blockadmin-guide
18audit-dashboardsAudit and usage dashboardsadmin-guide
19workflows-stepWorkflows step (Kibana 9.5)api
20read-writeRead-write settings: roles and kinds of changeadmin-guide

Diagrams (data flow, where masking happens) are SVG that read in both themes, not screenshots.

  • The page has one Diátaxis type and says who it is for.
  • The first paragraph tells the reader what they will get.
  • Every command and request was run against the current release.
  • Terms match the glossary.
  • Limits, editions and versions are stated where they apply.
  • No real host, address, user name, key or customer data in text or pictures.
  • Pictures come from the script, in both themes, with alt text.
  • Links work.