docs.json (preferred)docs.jsonc (supports // comments)holocron.jsonc (legacy Holocron name, also supports comments)docs.json for the fields Holocron consumes.123456789{ "name": "My Docs", "navigation": [ { "group": "Getting Started", "pages": ["index", "quickstart"] } ] }
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960{ "$schema": "https://holocron.so/docs.json", "name": "My Docs", "description": "Documentation for my project", "colors": { "primary": "#6366f1" }, "logo": { "light": "/logo-light.svg", "dark": "/logo-dark.svg" }, "favicon": "/favicon.svg", "appearance": { "default": "system" }, "fonts": { "family": "Inter" }, "icons": { "library": "lucide" }, "navbar": { "links": [ { "type": "github", "href": "https://github.com/example/docs" } ] }, "banner": { "content": "New: [v2.0 is out](/changelog)", "dismissible": true }, "navigation": { "tabs": [ { "tab": "Documentation", "groups": [ { "group": "Getting Started", "pages": ["index", "quickstart"] } ] }, { "tab": "API Reference", "openapi": "openapi.json" } ] }, "footer": { "socials": { "github": "https://github.com/example", "x": "https://x.com/example", "discord": "https://discord.gg/example" } }, "redirects": [ { "source": "/old", "destination": "/new" } ], "knownPaths": ["/api/*", "/dashboard"], "search": { "prompt": "Search docs..." }, "seo": { "metatags": { "author": "My Company" } }, "assistant": { "enabled": true, "display": "floating", "supportEmail": "support@example.com" }, "layout": { "mode": "compact", "maxWidth": 1200, "sidebarWidth": 230, "columnGap": 60, "radius": 10 } }
123{ "$schema": "https://holocron.so/docs.json" }
vite/src/schema.ts.layout.mode to choose the default layout for every page:12345{ "layout": { "mode": "compact" } }
compact keeps the left navigation and removes the right aside. Holocron then defaults assistant.display to floating so Ask AI stays available as a bottom pill. Set display to sidebar to opt out. A page can override the layout with its frontmatter mode field. Compact never opens a right rail. Authored asides and API examples render in the main column.api.playground, are accepted without errors and silently ignored. This means you can use a Mintlify docs.json without stripping unknown fields.logo: "/logo.svg" becomes { light: "/logo.svg" } and is rendered for both modes unless dark is providedfavicon: "/favicon.svg" becomes { light: "/favicon.svg", dark: "/favicon.svg" }navigation: a flat array of groups is wrapped in a default tabcolors: missing light or dark values fall back from primary when styles are generatedproducts: normalized into dropdowns at config time1▲ holocron broken link /quickstart:12 → /missing-page (no matching page found)
.json, .pdf) are not flagged.knownPaths to suppress warnings for paths that exist outside of Holocron:123{ "knownPaths": ["/api/*", "/dashboard", "/blog/*"] }
"/dashboard") and prefix patterns with trailing wildcards ("/api/*").