Skip to content

Pages

Pages are Markdown documents with path-like slugs such as ops/runbook. Link between them with [[slug]] or [[slug|text]]. Every save is a new version; old versions stay readable.

Terminal window
aw pages.put slug=ops/runbook title="Ops runbook" body="## Deploy\n1. make dist …" if_version=0
aw pages.get slug=ops/runbook
aw pages.get slug=ops/runbook version=1
aw pages.search query=deploy
aw pages.history slug=ops/runbook
  • Conflicts: if_version prevents overwriting someone else’s edit. The UI editor sends it automatically and shows a conflict instead of losing either version.
  • Unchanged saves: saving the same text again doesn’t create a version.
  • In the UI: a list with search, a rendered view with breadcrumbs, an editor with preview and ⌘/Ctrl+S, and the history of every page.

The name “documents” is reserved for the JSON rows of collections.