Page settings
Frontmatter for titles, slugs, order, and visibility in the sidebar.
Guide pages are Markdown (.md or .mdx) with an optional YAML frontmatter block. Frontmatter controls how the page appears in the sidebar and public URL.
---
title: Getting started
description: Install the client and make your first request.
slug: getting-started
position: 10
hidden: false
---
# Getting started
Body content…
Fields
Field | Type | Default | Purpose |
|---|---|---|---|
| string | From filename | Sidebar label and page title |
| string | — | Subtitle under the title in the sidebar and page chrome |
| string | — | Sidebar icon: emoji, short text, or Lucide name ( |
| string | Path-based from file path | URL under the section |
| number | Path heuristics | Lower sorts earlier |
| boolean |
| Hide from navigation when |
Unknown keys are ignored. The body starts after the closing ---.
Slugs and nested files
Without an explicit slug, nested files use path slugs:
File | Default slug | Example URL ( |
|---|---|---|
|
|
|
|
|
|
If you set slug in frontmatter, that value is used instead. Slugs must be unique within a section or sync fails.
Ordering
When the section uses discovery (no pages: list):
Pages with numeric
positionsort ascendingPages with
positionsort before pages withoutShallower paths before deeper paths
Then lexicographic path
When pages: is set in site.yaml, that list order wins.
Hidden pages
hidden: true keeps the file in the repo but omits it from the sidebar. Direct URLs may still work depending on publish rules—prefer exclude if the page must not be imported at all.
Links between pages
Relative links such as ./concepts.md or ../sites/overview.md are rewritten on import to public section URLs. Absolute https://… and in-page #anchors are left alone.