Layout
Toggle the table of contents with ⌘ ;.
Reading a page
Every page renders with:- An eyebrow line above the title showing the folder it lives in.
- A Last modified date and Previous / Next links at the bottom for linear reading.
- Live diagrams — Mermaid, D2, draw.io, and Excalidraw content render as interactive canvases. See Diagrams.
- A Metadata & tags panel that links the doc to Salesforce components.
/docs?repo=…&path=…&tab=…), so you can share a link to any page and the recipient lands in exactly the right place.
Editing in place
If you have edit rights, a doc page is the editor — open it and you’re already editing, with no Edit button and no mode switch. Readers see the read-only view instead.How saving works
Changes save to the server as you type and are committed to git automatically shortly after you finish. The status glyph in the toolbar tells you exactly where you stand:
To land a commit immediately, click Commit now (the double-tick button). It confirms with “Committed to git.” — or tells you there was nothing to commit.
The toolbar
The right side of the toolbar holds, in order: collaborator avatars, the save status, a branch dropdown, Commit now, Ask the agent, and a ⋯ More document actions menu containing:- Edit as Markdown — a switch that swaps the page for a raw Markdown editor (⌘ ’). Others’ changes stream in until you start typing; everything merges back when you switch views.
- History (⌘ ⇧ ;) — every editing session and external change on this branch. Restoring creates a new commit; nothing is ever overwritten.
- Merge into <default branch> — shown when you’re editing on another branch.
- Copy page and Open in … actions.
Keyboard shortcuts
Creating pages
Click Add new at the bottom of the sidebar (its split menu also offers New folder and New section):1
Pick a starting point
The New document dialog opens on a template gallery: a Plain file, documentation templates (Getting Started Guide, How-To Guide, Runbook, Troubleshooting Guide, FAQ, and more), Salesforce architecture starters, and Your templates — the ones saved in Settings → Templates. A Diagram tab creates a standalone canvas instead.
2
Name it and link components
Give the page a name, optionally seed a diagram, and optionally link the Salesforce components it documents — linking powers coverage and keeps the doc fresh later.
3
Optionally, let AI draft it
With a template chosen and at least one component linked, tick Draft this page with AI — the linked components are written into the template, grounded in their real Salesforce metadata. Otherwise the page starts as an empty template.
4
Create
The new page opens straight into the editor.
Organizing the tree
Right-click any row — or use its ⋯ menu — for New page, New folder, Rename, Move, Change icon, Move to tab, Move to section, and Delete. Each operation commits directly to the default branch, so history stays clean and reviewable.- Folders need at least one page (git can’t store an empty folder), so creating one flows straight into creating its first page.
- Sections are collapsible group headers in the sidebar; a new section is saved once it holds its first page.
- Tabs partition the docs tree at the top level — for example Product, Admin, and API. They’re configured in your repository’s
livingcontext.json, and you can move files between tabs from the row menu. - Drag folders and pages to reorder them. The new order persists for everyone, because it is written back to
livingcontext.json.
Diagram and spec files
Two file kinds open with their own editor instead of the markdown surface:- Standalone diagrams (draw.io
.drawio.svgfiles, plus legacy.excalidrawfiles) open as a full canvas with a floating Save button that commits straight to the branch. - OpenAPI specs (
openapi/**) open as YAML source with a Save button, and a View rendered path back to the API reference. Very large generated specs decline to open inline and point you at the explorer instead.
Linking docs to Salesforce
The Metadata & tags panel on every page lets you tag the doc with the Salesforce components it describes — objects, flows, Apex classes, and so on. LivingContext suggests tags with AI, and you can accept or adjust them. These tags matter beyond navigation:- They power the Coverage dashboard, which measures how much of your org is documented.
- They let agents know which docs to update automatically when the underlying metadata changes.