Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

Navigation

The navigation field in docs.json controls the sidebar, tab bar, and overall site structure. Holocron supports a Mintlify-compatible subset of navigation shapes.

Simplest form: flat groups

{ "navigation": [ { "group": "Getting Started", "pages": ["index", "quickstart"] }, { "group": "Guides", "pages": ["guides/auth", "guides/deployment"] } ] }
This creates a single sidebar with two collapsible sections.

Tabs

Tabs split the sidebar into multiple top-level areas. Each tab has its own set of groups:
{ "navigation": { "tabs": [ { "tab": "Documentation", "groups": [ { "group": "Overview", "pages": ["index"] }, { "group": "Guides", "pages": ["guides/setup"] } ] }, { "tab": "API Reference", "openapi": "openapi.json" } ] } }
Clicking a tab switches the sidebar content. The tab bar appears below the navbar.
A tab can be an external link instead of a content section:
{ "tab": "GitHub", "href": "https://github.com/example/docs" }

Nested groups

Groups can contain other groups for deeper hierarchy:
{ "group": "Authentication", "pages": [ "auth/overview", { "group": "Providers", "pages": ["auth/github", "auth/google", "auth/email"] } ] }

Group options

FieldTypeDescription
groupstringSection title in the sidebar
pagesarrayPage slugs or nested groups
iconstringIcon displayed next to the group title
hiddenbooleanHide the entire group from navigation
expandedbooleanWhether the group starts expanded
rootstringPage slug to use as the group's clickable header
tagstringBadge label next to the group title

Anchors

Anchors are persistent links rendered in the tab bar. They can be internal or external and appear alongside tabs regardless of which tab is active:
{ "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" } ] } } }
You can also place anchors at the top level of the navigation object (equivalent to global.anchors).