Docs
Start building
Docs

Docs overview

Chapter 04 · generate and maintain project documentation.

1 min read · 4 sections

The Docs chapter generates documentation from your code (README, architecture, API reference, runbooks) and tracks when it goes stale. It's an AI doc writer paired with a drift detector, plus a markdown editor, live preview, and one-click export.

Docs unlocks once you've started building in Code.

What it does

  • AI doc generation: README, Architecture, API, Runbook, and more, drafted from your code.
  • Drift detection: flags which docs went stale when the project changed.
  • Markdown editor: edit raw, preview rendered.
  • Export: bundle every doc into one markdown file.
  • Smart suggestions: a doc set proposed for an empty project.
  • Pitch deck: flip to Deck view to generate an investor-ready presentation from the same project context.

The layout

  • A rail listing your docs, grouped into core docs (README, Architecture, API, Runbook) and custom docs, each with a status pip.
  • A content area that renders the active doc (or edits it raw).
  • A chat panel for asking Modus to draft, refresh, or rewrite.

Doc statuses

StatusMeans
currentUp to date
driftingA project change may have made it stale
emptyNo content yet

The pages ahead