> Documentation index: https://orbizz.in/llms.txt — every page is also available as https://orbizz.in/md/<slug>
> Version: v1 (current)

# Drafts, publishing and history

A page has two copies: the **draft** you edit and the **published** version readers see. Publishing copies the draft over the published version. Readers never see a draft.

## Status

Every page shows one of three states as a badge and as a dot in the sidebar:

- **Draft** — never published; not on the public site.

- **Published** — the draft and the live page are the same.

- **Unpublished changes** — the draft has moved on since the last publish.

## Publish, revert, unpublish

- **Publish** (`⌘⇧P`) makes the draft live and takes a snapshot.

- **Revert** throws the draft away and reloads the published copy.

- **Unpublish** takes the page offline. Its slug becomes editable again.

- **Preview** (`⌘E`) renders the draft exactly as the public page would, with a banner reminding you it is not live.

From the same menu you can view the live page, copy its public URL, duplicate it into a new draft in the same version, or delete it.

## Version history

Every publish saves a snapshot. Open the history panel with `⌘⇧H` to:

- **Compare** any snapshot against the currently published page as a word-level diff of title and body.

- **Restore** a snapshot into the draft, then publish to make it live again.

Five snapshots are kept per page by default (`VERSION_LIMIT` for self-hosted deployments); older ones are pruned.

## What publishing updates

Publishing or unpublishing rebuilds the site search index, the sitemap, `llms.txt` and what the MCP server returns, so agents and search engines see the change straight away.
