The page title, shown in the sidebar, the browser tab, and search results.
Writing pages
Every source page is an .md or .mdx file under the pages/ directory with a small frontmatter block:
---title: Quickstartdescription: From zero to a running site in five minutes.---
Your content starts here.Create the page file
Create the file itself under pages/ before adding it to navigation. For example, create pages/guides/setup.mdx for a guide whose navigation path will be guides/setup.
---title: Setupdescription: Configure the project for local development.---
Follow these steps to configure the project.Navigation
After creating the page file, add its path to docs.json so it appears in the sidebar:
{ "navigation": { "groups": [ { "group": "Getting started", "pages": ["index", "quickstart"] } ] }}Header tabs
Larger sites can split the navigation into top-level spaces — the header tabs you see on this site. Replace groups with tabs, where each tab holds its own groups and gets its own sidebar:
{ "navigation": { "tabs": [ { "tab": "Guides", "groups": [ { "group": "Getting started", "pages": ["welcome", "quickstart"] } ] }, { "tab": "API Reference", "groups": [ { "group": "API reference", "pages": ["api-reference/overview"], "openapi": "api-reference/openapi.yaml" } ] } ] }}Frontmatter fields
titlepathstringrequired
descriptionpathstring
A one-sentence summary used for search-engine metadata and the AI assistant’s context.