docs.json reference
Complete reference for the docs.json configuration file.
Every Blode.md project is configured through a single docs.json file at the root of your docs directory. This page covers every top-level field.
{
"$schema": "https://mintlify.com/docs.json",
"name": "my-project",
"theme": "mint",
"colors": { "primary": "#0D9373" },
"navigation": {
"groups": [{ "group": "Getting started", "pages": ["index"] }]
}
}{
"$schema": "https://mintlify.com/docs.json",
"name": "my-project",
"theme": "mint",
"description": "Documentation for my product.",
"colors": {
"primary": "#0D9373",
"light": "#CFF6EE",
"dark": "#0C3A33"
},
"logo": {
"light": "/images/logo-light.svg",
"dark"
The navbar object configures the top navigation bar.
The api object controls OpenAPI/AsyncAPI rendering and the API playground.
The contextual object adds action buttons to each page, letting readers copy content, open it in AI assistants, or perform custom actions.
Built-in option presets: copy, view, chatgpt, claude, perplexity, grok, aistudio, cursor, vscode, windsurf, devin, mcp, add-mcp, devin-mcp, assistant.
Run blodemd validate to check your docs.json against the schema before deploying:
blodemd validate| Yes |
logo | string | { light, dark, href? } | Logo displayed in the navbar. Accepts a URL string or an object with `light` and `dark` variants. | Yes |
favicon | string | { light, dark } | Favicon path or URL. Accepts a string or an object with `light` and `dark` variants. | Yes |
fonts | object | Typography settings for body, heading, and monospace text. See [Theming](/configuration/theming). | Yes |
navbar | object | Top navigation bar configuration with links and a primary CTA button. | Yes |
navigation | object | Sidebar and tab structure. Defines the hierarchy of your pages. See [Navigation](/configuration/navigation). | Yes |
api | object | API reference configuration including OpenAPI/AsyncAPI sources and playground settings. | Yes |
appearance | object | Dark/light mode settings. Set `default` to `dark`, `light`, or `system`. Use `strict` to lock to one mode. | Yes |
contextual | object | Contextual action buttons shown on each page (copy, view source, open in ChatGPT, Claude, etc.). | Yes |
search | object | Search configuration. Set `prompt` to customize the search placeholder text. | Yes |
seo | object | SEO settings. Set `indexing` to `all` or `default` to control search engine indexing. | Yes |
metadata | object | Metadata options. Set `timestamp: true` to show last-updated dates on pages. | Yes |
| { expanded?: 'all' | 'closed' } |
| Parameter display settings. |
| Yes |
api.mdx | { auth?: { method, name }, server?: string | string[] } | MDX-based API page settings including auth method and server URL. | Yes |
api.url | 'full' | URL display mode. Set to `full` to show the complete URL in API pages. | Yes |