avodado
avodado docs
Getting started

Your first doc

Write a block, check it, preview it — the loop you'll use every day.

An Avodado doc is plain Markdown with typed blocks. Prose stays prose. Anything visual — a diagram, a table, a roadmap — goes in a block.

The one rule: the .md file is the source of truth. Edit it, run avo check, and fix what it reports. When the check passes, you're done.

Let your AI write it

Avodado is designed AI-first: avo init installs the authoring skill, so your agent can write every block on this page from a prompt like "Document our checkout flow in docs/checkout.md — a sequence diagram and an ERD, then run avo check." Keep avo studio open and each save appears live. This tutorial teaches the same rules so you can read, review, and tweak what the agent produces. More in Author with AI.

What a block looks like

A block is a fenced code section. The word after the backticks is the block type, and the body is YAML:

## Request flow

```sequence
id: seq-gs-checkout
endpoint: { method: POST, path: /orders }
actors:
  - { id: client, name: Client }
  - { id: api, name: Orders API }
messages:
  - client -> api: POST /orders
  - api --> client: 201 Created
```

Two things keep the YAML short: the heading above the block is its title (no title: needed), and most list items have a terse one-line form — client -> api: POST /orders is a whole message.

Here is that block, rendered by the same pipeline avo build uses. The YAML is on the left — try editing it — and the output is on the right:

```sequenceeditable · live
renderedavo renders this
SECTION 01 · Sequence
POST/orders
Sequence diagramClientOrders API1POST /orders2201 Created
Valid — passes avo check

The optional id: lets other blocks reference this one.

The everyday loop

Set up once with avo init, then repeat three steps:

edit the .md  ──▶  avo check  ──ok──▶  preview or publish
     ▲                 │
     └── fix what it reports
avo check                    # validate every doc
avo preview docs/orders.md   # render one doc and open it
avo studio                   # edit visually in the browser

avo check names the file, the line, and the problem — see Validation for what each message means.

Already have the data somewhere else? avo sync csv sales.csv turns a CSV into a ready-made table or chart block.

Try a few more blocks

A good doc uses 2–5 blocks, each showing a different side of the topic. A stats strip:

```statseditable · live
renderedavo renders this
SECTION 01 · Metrics
87
Block types
6
Built-in themes
3
Export formats
Valid — passes avo check

A roadmap as a timeline:

```timelineeditable · live
renderedavo renders this
SECTION 01 · Roadmap
now
Write your first doc
Edit this file, run avo check
next
Wire it into review
Run avo check in CI on every PR
later
Present it
avo slides turns headings into a deck
Valid — passes avo check

Browse all 87 in the blocks reference — every type has an editable example like the ones above.

Connect blocks with references

Give a block an id:, then point at it from another block with #id (same file) or doc#id (another file). A reference to an id that doesn't exist fails avo check:

```userstoryeditable · live
renderedavo renders this
SECTION 01 · User story
As a new user, I want to see how a cross-reference works, so that I can wire stories to the diagrams that satisfy them.
Related
Valid — passes avo check

More in References.

Themes and slides

  • Themes. Six built-in looks (textbook, minimal, soft, dark, teal, slate). Switch with avo theme, or design your own in the theme generator.
  • Slides. Any doc is also a deck: avo slides docs/orders.md. Each heading becomes a slide.

Both in depth: Slides & theming.

Next steps