navigation field in docs.json controls the sidebar, tab bar, and overall site structure. Holocron supports a Mintlify-compatible subset of navigation shapes.123456789101112{ "navigation": [ { "group": "Getting Started", "pages": ["index", "quickstart"] }, { "group": "Guides", "pages": ["guides/auth", "guides/deployment"] } ] }
1234567891011121314151617{ "navigation": { "tabs": [ { "tab": "Documentation", "groups": [ { "group": "Overview", "pages": ["index"] }, { "group": "Guides", "pages": ["guides/setup"] } ] }, { "tab": "API Reference", "openapi": "openapi.json" } ] } }
1234{ "tab": "GitHub", "href": "https://github.com/example/docs" }
12345678910{ "group": "Authentication", "pages": [ "auth/overview", { "group": "Providers", "pages": ["auth/github", "auth/google", "auth/email"] } ] }
| Field | Type | Description |
group | string | Section title in the sidebar |
pages | array | Page slugs or nested groups |
icon | string | Icon displayed next to the group title |
hidden | boolean | Hide the entire group from navigation |
expanded | boolean | Whether the group starts expanded |
root | string | Page slug to use as the group's clickable header |
tag | string | Badge label next to the group title |
12345678910111213{ "navigation": { "tabs": [ { "tab": "Docs", "groups": [...] } ], "global": { "anchors": [ { "anchor": "GitHub", "href": "https://github.com/example", "icon": "github" }, { "anchor": "Discord", "href": "https://discord.gg/example", "icon": "message-circle" } ] } } }
anchors at the top level of the navigation object (equivalent to global.anchors).