Skip to main content
Required fields have a required badge. All other fields are optional. For context on what each group of settings does, see the topic pages:

Quick reference

PropertyTypeRequiredDefault
themestringYesNone
namestringYesNone
colors.primarystring (hex)YesNone
navigationobjectYesNone
descriptionstringNoNone
logostring or objectNoNone
faviconstring or objectNoNone
appearance.default"system" | "light" | "dark"No"system"
appearance.strictbooleanNofalse
fonts.familystringNoTheme default
icons.library"fontawesome" | "lucide" | "tabler"No"fontawesome"
background.decoration"gradient" | "grid" | "windows"NoNone
styling.eyebrows"section" | "breadcrumbs"No"section"
styling.latexbooleanNoAuto-detected
styling.codeblocks"system" | "dark" | string | objectNo"system"
thumbnails.appearance"light" | "dark"NoSite default
navbar.linksarrayNoNone
navbar.primaryobjectNoNone
footer.socialsobjectNoNone
footer.linksarrayNoNone
banner.contentstringNoNone
banner.dismissiblebooleanNofalse
interaction.drilldownbooleanNoTheme default
contextual.optionsarrayNoNone
contextual.display"header" | "toc"No"header"
redirectsarrayNoNone
variablesobjectNoNone
metadata.timestampbooleanNofalse
errors.404.redirectbooleanNotrue
api.openapistring or array or objectNoNone
api.asyncapistring or array or objectNoNone
api.playground.display"interactive" | "simple" | "none" | "auth"No"interactive"
api.playground.proxybooleanNotrue
api.params.expanded"all" | "closed"No"closed"
api.url"full"NoNone
api.examples.languagesarray of stringNoNone
api.examples.defaults"required" | "all"No"all"
api.examples.prefillbooleanNofalse
api.examples.autogeneratebooleanNotrue
api.spec.downloadbooleanNofalse
seo.indexing"navigable" | "all"No"navigable"
seo.metatagsobjectNoNone
search.promptstringNoNone
integrations.*objectNoNone

Full property reference

theme - required

The layout theme for your site. Type: string Options: mint, maple, palm, willow, linden, almond, aspen, sequoia, luma See Themes for previews.

name - required

The name of your project, organization, or product. Type: string

colors - required

The colors used in your documentation. Type: object

colors.primary

required The primary color. Generally used for emphasis in light mode. Type: string — hex code matching ^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$

colors.light

The color used for emphasis in dark mode. Type: string — hex code matching ^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$

colors.dark

The color used for buttons and hover states across both modes. Type: string — hex code matching ^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$
The navigation structure of your content. Type: object See Navigation for complete documentation. Global navigation elements that appear across all pages and locales. Type: object
navigation.global.tabs
Top-level navigation tabs. Type: array of object — each with: tab (string, required), icon (string), iconType (string), hidden (boolean), href (string uri, required)
navigation.global.anchors
Sidebar anchor links. Type: array of object — each with: anchor (string, required), icon (string), iconType (string), color.light (string hex), color.dark (string hex), hidden (boolean), href (string uri, required)
navigation.global.dropdowns
Dropdown menus. Type: array of object — each with: dropdown (string, required), icon (string), iconType (string), hidden (boolean), href (string uri, required)
navigation.global.languages
Language switcher in the global nav. Type: array of object — each with: language (string, required), default (boolean), hidden (boolean), href (string uri, required) Supported language codes: ar, ca, cn, cs, de, en, es, fr, he, hi, hu, id, it, ja, jp, ko, lv, nl, no, pl, pt, pt-BR, ro, ru, sv, tr, ua, uz, vi, zh, zh-Hans, zh-Hant
navigation.global.versions
Version switcher in the global nav. Type: array of object — each with: version (string, required, min length 1), default (boolean), hidden (boolean), href (string uri, required)
navigation.global.products
Product switcher in the global nav. Type: array of object — each with: product (string, required), description (string), icon (string), iconType (string) Language switcher for multi-language sites. Each entry can include language-specific banner, footer, and navbar overrides. Type: array of object — each with: language (string, required), default (boolean), hidden (boolean), banner (object), footer (object), navbar (object) Supported language codes: ar, ca, cn, cs, de, en, es, fr, he, hi, id, it, ja, jp, ko, lv, nl, no, pl, pt, pt-BR, ro, ru, sv, tr, uk, uz, vi, zh, zh-Hans, zh-Hant Version switcher for multi-version sites. Type: array of object — each with: default (boolean), tag (string) Top-level navigation tabs. Type: array of object — see navigation.global.tabs for shape. Sidebar anchor links. Type: array of object — see navigation.global.anchors for shape. Dropdown menus. Type: array of object — see navigation.global.dropdowns for shape. Product switcher. Type: array of object — see navigation.global.products for shape. Groups for organizing content into labeled sections. Type: array of object Individual pages in your documentation. Type: array of string or object

description

Site description for SEO and AI indexing. Type: string
Site logo. Provide a path string or separate light and dark objects. Type: string or object

logo.light

required (when using object form) Path to the logo for light mode. Example: /logo/light.svg. Type: string

logo.dark

required (when using object form) Path to the logo for dark mode. Example: /logo/dark.svg. Type: string

logo.href

URL to redirect to when clicking the logo. Type: string (uri)

favicon

Site favicon. Automatically resized. Provide a path string or separate light and dark objects. Type: string or object

favicon.light

required (when using object form) Path to the favicon for light mode. Example: /favicon.png. Type: string

favicon.dark

required (when using object form) Path to the favicon for dark mode. Example: /favicon-dark.png. Type: string

appearance

Light/dark mode settings. Type: object

appearance.default

Default color mode. Type: "system" | "light" | "dark" Default: "system"

appearance.strict

When true, hides the light/dark mode toggle. Type: boolean Default: false

fonts

Custom fonts. Supports Google Fonts and self-hosted fonts. Type: object

fonts.family

required (when using fonts) Font family name. Google Fonts family names load automatically. Type: string

fonts.weight

Font weight. Variable fonts support fractional values such as 550. Type: number

fonts.source

URL to a hosted font or path to a local font file. Not needed for Google Fonts. Type: string (uri)

fonts.format

Font file format. Required when using fonts.source. Type: "woff" | "woff2"

fonts.heading

Override font settings for headings. Accepts the same family, weight, source, and format fields. Type: object

fonts.body

Override font settings for body text. Accepts the same family, weight, source, and format fields. Type: object

icons

Icon library settings. Type: object

icons.library

required Icon library to use throughout your documentation. All icon names in your docs must come from the selected library. Type: "fontawesome" | "lucide" | "tabler" Default: "fontawesome"

background

Background image, decoration, and color settings. Type: object

background.decoration

Decorative background pattern. Type: "gradient" | "grid" | "windows"

background.color

Custom background colors. Type: object
background.color.light
Background color for light mode. Type: string — hex code matching ^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$
background.color.dark
Background color for dark mode. Type: string — hex code matching ^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$

background.image

Background image. Provide a path string or separate light and dark objects. Type: string or object
background.image.light
required (when using object form) Background image path for light mode. Type: string
background.image.dark
required (when using object form) Background image path for dark mode. Type: string

styling

Visual styling controls. Type: object

styling.eyebrows

Page eyebrow style shown at the top of the page. Type: "section" | "breadcrumbs" Default: "section"

styling.latex

Whether to load LaTeX stylesheets. By default, Mintlify auto-detects LaTeX usage. Type: boolean

styling.codeblocks

Code block theme configuration. Type: "system" | "dark" | string (Shiki theme name) | object Default: "system" When an object:
styling.codeblocks.theme
A single Shiki theme name for both modes, or an object with light and dark Shiki theme names. Type: string or object
styling.codeblocks.languages
Custom language configuration. Type: object
styling.codeblocks.languages.custom
Paths to JSON files describing custom Shiki languages in TextMate grammar format. Type: array of string

thumbnails

Social media thumbnail customization. Type: object

thumbnails.appearance

Visual theme for thumbnails. Type: "light" | "dark" Default: Site color scheme

thumbnails.background

Background image for thumbnails. Can be a relative path or absolute URL. Type: string

thumbnails.fonts

Font configuration for thumbnails. Type: object
thumbnails.fonts.family
required (when using thumbnails.fonts) Font family name. Supports Google Fonts only. Type: string
Top navigation bar configuration. Type: object Links displayed in the navbar. Type: array of object — each with:
FieldTypeRequiredDescription
type"github" | "discord"NoLink type. Omit for a standard link.
labelstringConditionalRequired when type is omitted.
hrefstring (uri)YesLink destination.
iconstringNoIcon name, URL, path, or SVG.
iconTypestringNoFont Awesome icon style only.
Primary call-to-action button in the navbar. Type: object
FieldTypeRequiredDescription
type"button" | "github" | "discord"YesButton style.
labelstringConditionalRequired when type is "button".
hrefstring (uri)YesButton destination.

Footer content and social links. Type: object Social media profiles. Each key is a platform name, each value is your profile URL. Type: object Valid keys: x, website, facebook, youtube, discord, slack, github, linkedin, instagram, hacker-news, medium, telegram, twitter, x-twitter, earth-americas, bluesky, threads, reddit, podcast Link columns in the footer. Type: array of object — each with: header (string), items (array of { label: string, href: string }, required)
Site-wide banner displayed at the top of every page. Type: object required (when using banner) Banner text. Supports basic MDX formatting including links, bold, and italic. Custom components are not supported. Type: string Whether to show a dismiss button. Type: boolean Default: false

interaction

Navigation interaction settings. Type: object

interaction.drilldown

Controls automatic navigation when a user clicks a navigation group. Set to true to navigate to the first page when a user clicks a group, false to only expand/collapse the group without navigating. Type: boolean Default: Theme default

contextual

Contextual menu for page actions and AI tool integrations. Type: object

contextual.options

required Actions available in the contextual menu. The first item is the default action. Type: array of "assistant" | "copy" | "view" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp" | object Custom option object fields:
FieldTypeRequiredDescription
titlestringYesDisplay title.
descriptionstringYesDescription text.
iconstringNoIcon name, URL, path, or SVG.
hrefstring or objectYesLink destination. Supports $page, $path, $mcp placeholders.

contextual.display

Where to show the contextual menu. Type: "header" | "toc" Default: "header"
The contextual menu is only available on preview and production deployments.

redirects

Redirects for moved, renamed, or deleted pages. Type: array of object — each with:
FieldTypeRequiredDescription
sourcestringYesPath to redirect from. Example: /old-page
destinationstringYesPath to redirect to. Example: /new-page
permanentbooleanNotrue for 308, false for 307. Default: true.

variables

Global content variables replaced at build time using {{variableName}} syntax. Type: object — key-value pairs where keys are variable names (alphanumeric, hyphens, periods) and values are replacement strings.

metadata

Global page metadata settings. Type: object

metadata.timestamp

Display a last-modified date on all pages. Type: boolean Default: false

errors

Error page settings. Type: object

errors.404

Settings for the 404 “Page not found” error page. Type: object
errors.404.redirect
Whether to automatically redirect to the home page when a page is not found. Type: boolean Default: true
errors.404.title
Custom title for the 404 page. Type: string
errors.404.description
Custom description for the 404 page. Supports MDX formatting including links, bold, italic, and custom components. Type: string

api

API documentation and playground settings. Type: object

api.openapi

OpenAPI specification files. Type: string | array of string | object with source (string) and directory (string)

api.asyncapi

AsyncAPI specification files. Type: string | array of string | object with source (string) and directory (string)

api.playground

Interactive playground settings. Type: object
api.playground.display
Playground display mode. Type: "interactive" | "simple" | "none" | "auth" Default: "interactive"
api.playground.proxy
Whether to route API requests through a proxy. Type: boolean Default: true

api.params

API parameter display settings. Type: object
api.params.expanded
Whether to expand all parameters by default. Type: "all" | "closed" Default: "closed"

api.url

Base URL display mode. Type: "full" Default: Only shown when multiple base URLs exist.

api.examples

Code example settings. Type: object
api.examples.languages
Languages for autogenerated code snippets. See supported languages. Type: array of string
api.examples.defaults
Whether to include optional parameters in examples. Type: "required" | "all" Default: "all"
api.examples.prefill
Whether to prefill playground fields with spec example values. Type: boolean Default: false
api.examples.autogenerate
Whether to generate code samples from API specifications. Type: boolean Default: true

api.spec

OpenAPI spec display settings. Type: object
api.spec.download
Whether to show a download button for the OpenAPI spec on API reference pages. Type: boolean Default: false

api.mdx

Settings for API pages built from MDX files. Type: object
api.mdx.auth
Authentication configuration for MDX-based API requests. Type: object
api.mdx.auth.method
Authentication method. Type: "bearer" | "basic" | "key" | "cobo"
api.mdx.auth.name
Authentication parameter name. Type: string
api.mdx.server
Base URL prepended to relative paths in page-level api frontmatter. Not used when frontmatter contains a full URL. Type: string or array

seo

Search engine optimization settings. Type: object

seo.indexing

Which pages search engines should index. Type: "navigable" | "all" Default: "navigable"

seo.metatags

Custom meta tags added to every page. Key-value pairs. Type: object
Search bar settings. Type: object

search.prompt

Placeholder text in the search bar. Type: string

integrations

Third-party integrations. Type: object
PropertyTypeRequired fieldDescription
integrations.adobe.launchUrlstring (uri)YesAdobe Analytics launch URL.
integrations.amplitude.apiKeystringYesAmplitude API key.
integrations.clarity.projectIdstringYesMicrosoft Clarity project ID.
integrations.clearbit.publicApiKeystringYesClearbit public API key.
integrations.fathom.siteIdstringYesFathom site ID.
integrations.frontchat.snippetIdstring (min 6)YesFront chat snippet ID.
integrations.ga4.measurementIdstring (must start with G)YesGoogle Analytics 4 measurement ID.
integrations.gtm.tagIdstring (must start with G)YesGoogle Tag Manager container ID.
integrations.heap.appIdstringYesHeap app ID.
integrations.hightouch.writeKeystringYesHightouch write key.
integrations.hightouch.apiHoststringNoHightouch API host.
integrations.hotjar.hjidstringYesHotjar site ID.
integrations.hotjar.hjsvstringYesHotjar script version.
integrations.intercom.appIdstring (min 6)YesIntercom app ID.
integrations.logrocket.appIdstringYesLogRocket app ID.
integrations.mixpanel.projectTokenstringYesMixpanel project token.
integrations.pirsch.idstringYesPirsch site ID.
integrations.plausible.domainstringYesPlausible domain.
integrations.plausible.serverstringNoPlausible server (self-hosted only).
integrations.posthog.apiKeystring (must start with phc_)YesPostHog API key.
integrations.posthog.apiHoststring (uri)NoPostHog API host (self-hosted only).
integrations.posthog.sessionRecordingbooleanNoEnable session recording. Default: false.
integrations.segment.keystringYesSegment write key.
integrations.telemetry.enabledbooleanNoEnable Mintlify telemetry. When false, feedback features are also disabled.
integrations.cookies.keystringNoCookie key name.
integrations.cookies.valuestringNoCookie value.