Documentation

This is the docs section of your site. Pages here are written in Markdown and live in src/content/docs/.

Getting started

How docs work

Each .md file in src/content/docs/ becomes a docs page. Files are grouped into sections by folder name:

src/content/docs/
├── README.md          ← this page (shown at /docs/)
└── guides/
    ├── getting-started.md   → /docs/guides/getting-started/
    └── adding-blocks.md     → /docs/guides/adding-blocks/

To add a new section, create a folder and register it in src/lib/docs/navigation.ts:

export const SECTION_ORDER = [
  { id: "Guides", title: "Guides", order: 1 },
  { id: "Your Section", title: "Your Section", order: 2 },
];

The section name is derived from the folder name automatically (my-section/My Section), or you can set it explicitly in frontmatter:

---
title: My Page
section: Guides
order: 3
---