docs.json, not by convention.| File path | Slug |
index.mdx | index |
getting-started.mdx | getting-started |
guides/auth.mdx | guides/auth |
api/users.mdx | api/users |
docs.json navigation:12345678{ "navigation": [ { "group": "Guides", "pages": ["getting-started", "guides/auth"] } ] }
$schema for editor
autocompletion and validation:12345678--- $schema: https://holocron.so/frontmatter.json title: Authentication description: How to set up auth in your app. icon: lucide:lock sidebarTitle: Auth tag: New ---
| Field | Type | Description |
title | string | Page title, used in sidebar and <title> tag |
description | string | SEO description and subtitle |
icon | string | Icon name displayed in the sidebar |
iconColor | string | Color for the sidebar icon. Named colors (green, blue, red, purple, orange, yellow, pink) or any CSS color string |
sidebarTitle | string | Short label for the sidebar, letting title be longer for SEO |
tag | string | Badge label next to the page title in sidebar |
mode | string | Page layout mode: "default", "center", or "custom". See Layout |
maxWidth | number | Maximum content width in pixels. Useful with mode: "custom" |
deprecated | boolean | Marks the page as deprecated |
api | string | Mintlify API page label like GET /users |
hidden | boolean | Hides the page from navigation and adds noindex |
noindex | boolean | Keeps the page visible but adds robots noindex |
cache-control | string | Custom response cache header |
keywords | string[] | Additional keywords for search |
robots | string | Custom robots meta value |
og:title | string | Open Graph title override |
og:description | string | Open Graph description |
og:image | string | Open Graph image URL |
twitter:title | string | Twitter card title |
twitter:description | string | Twitter card description |
twitter:image | string | Twitter card image |
og:image in the page frontmatter. Both absolute URLs and relative paths work; relative paths are resolved to absolute URLs automatically.123456--- title: Getting Started "og:image": /images/getting-started-og.png "og:image:width": 1200 "og:image:height": 630 ---
public/ folder (e.g. public/images/getting-started-og.png). The recommended size is 1200x630 pixels.twitter:image. If not set, it falls back to og:image.sidebarTitle to show a shorter label in the sidebar while keeping a longer, more descriptive title for SEO and browser tabs.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.1234--- title: Authentication — Setting Up OAuth and API Keys sidebarTitle: Authentication ---
index renders at /. Every other slug maps directly to a URL path (e.g. guides/auth renders at /guides/auth).