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"] } ] }
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ "$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 } }
123{ "$schema": "https://holocron.so/docs.json" }
vite/src/schema.ts.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/*").