Pages & Routing

Start structuring docs

One of the core concepts are pages and routing.


├ folder-name
│ └─ your-page-within-folder.md
|
├─ your-page.md
|
└─ docs.json

Page

Pages are content files that can be organized. File structure maps to URL structure.


 

{
"sidebar": [
{
"group": "Get Started",
"icon": "code",
"pages": [
"your-page",
"folder-name/your-page-within-folder",
]
}
// ... other groups
]
}

Routing

Configure navigation in docs.json. Groups organize pages and page paths.

QuickstartMarkdown
Built with