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

Pages

Every page in a Holocron site is an MDX file (.mdx or .md). Pages are discovered through the navigation config in docs.json, not by convention.

Page slugs

The slug of a page is its file path relative to the pages directory, without the extension:
File pathSlug
index.mdxindex
getting-started.mdxgetting-started
guides/auth.mdxguides/auth
api/users.mdxapi/users
Reference these slugs in your docs.json navigation:
{ "navigation": [ { "group": "Guides", "pages": ["getting-started", "guides/auth"] } ] }

Frontmatter

Every page can have YAML frontmatter at the top. Add $schema for editor autocompletion and validation:
--- $schema: https://holocron.so/frontmatter.json title: Authentication description: How to set up auth in your app. icon: lucide:lock sidebarTitle: Auth tag: New ---

Supported fields

FieldTypeDescription
titlestringPage title, used in sidebar and <title> tag
descriptionstringSEO description and subtitle
iconstringIcon name displayed in the sidebar
sidebarTitlestringShort label for the sidebar, letting title be longer for SEO
tagstringBadge label next to the page title in sidebar
deprecatedbooleanMarks the page as deprecated
apistringMintlify API page label like GET /users
hiddenbooleanHides the page from navigation and adds noindex
noindexbooleanKeeps the page visible but adds robots noindex
cache-controlstringCustom response cache header
keywordsstring[]Additional keywords for search
robotsstringCustom robots meta value
og:titlestringOpen Graph title override
og:descriptionstringOpen Graph description
og:imagestringOpen Graph image URL
twitter:titlestringTwitter card title
twitter:descriptionstringTwitter card description
twitter:imagestringTwitter card image

Sidebar title

Use sidebarTitle to show a shorter label in the sidebar while keeping a longer, more descriptive title for SEO and browser tabs.
The title field controls the <title> tag, which is what Google shows in search results. Longer, keyword-rich titles rank better. But long titles make the sidebar hard to scan, so sidebarTitle lets you decouple the two.
--- title: Authentication — Setting Up OAuth and API Keys sidebarTitle: Authentication ---
In this example, Google sees "Authentication — Setting Up OAuth and API Keys" but the sidebar just shows "Authentication".

The index page

The page with slug index renders at /. Every other slug maps directly to a URL path (e.g. guides/auth renders at /guides/auth).