Documentation site template
Add MDX doc pages, sidebar navigation, table of contents, search, and shared components.
Content location
Place MDX files under content/docs (or the generated equivalent). Frontmatter requires title and description.
Sidebar
Register sections in the docs navigation module so new pages appear in the sidebar and mobile menu.
Table of contents
Headings ## and ### feed the in-page TOC; keep hierarchy shallow for scanability.
Search
Wire search to your index provider or a lightweight local index for static exports.
This marketing site’s /docs route demonstrates nested MDX and sectioned navigation you can mirror in generated projects.