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:
--- title: Authentication description: How to set up auth in your app. icon: 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
sidebarTitlestringOverride the title shown in the sidebar
tagstringBadge label next to the page title in sidebar
deprecatedbooleanMarks the page as deprecated
hiddenbooleanHides the page from navigation
noindexbooleanPrevents search engines from indexing
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:imagestringTwitter card image

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).