Skip to content

Write documentation

Keep explanations beside the architecture they describe. Topolix supports documentation for folders and for individual diagrams.

Location What to document
Domain or folder → Doc The system’s purpose, ownership, boundaries, and operating context
Diagram → Docs What that particular view shows, its assumptions, and how to read it
Workspace → Docs Find documentation across the workspace

Use a folder’s documentation for information shared by several diagrams. Keep diagram-specific explanations attached to the diagram so they remain useful when someone opens that view directly.

Open the domain or folder, select Doc, and edit its Markdown. A useful starting structure is:

  1. Purpose: who uses the system and what it does.
  2. Ownership: who maintains it and where to ask questions.
  3. Architecture: the main components and their responsibilities.
  4. Dependencies: upstream callers and downstream services or databases.
  5. Operations: deployment, failure modes, and links to runbooks.
  6. Open questions: details that still need verification.

Keep statements tied to what you can verify. A short, accurate explanation is more useful than a generated document full of assumptions.

Use Draft with Topix in the folder’s Doc tab to generate a starting draft from available context. Read it before saving: correct names, check dependencies, and remove claims the sources do not support.

Generation does not automatically document everything in the workspace. Repeat this workflow for the systems you want to explain, and use Home’s Needs attention section to find documentation gaps.

When a source diagram is regenerated or a service boundary changes, review the related document too. Explain the reason for a change as well as the resulting structure. Keep links to deeper operational material when that material is maintained elsewhere.