Skip to main content
Every Mintlify site needs a mint.json file with the core configuration settings. Learn more about the properties or from an example

Properties

Styling

string
required
Name of your company or project. Used for the global title.
Path to logo image or object with path to “light” and “dark” mode logo images, and where the logo links to. SVG format is recommended. It does not pixelate and the file size is generally smaller.
string
Path to the favicon image. For example: /path/to/favicon.svg
Colors
Hex color codes for your global theme
"venus" | "quill" | "prism"
A preset theme configuration that changes the look and feel of the project. A theme is a set of default styling configurations. Examples: Venus, Quill, Prism
"topnav" | "sidenav" | "solidSidenav"
default:"topnav"
The global layout style of the documentation.
Background
Set a decorative background.
string
Set a custom background image to be displayed behind every page.
Custom fonts. Apply globally or set different fonts for headings and the body text.Example:
ModeToggle
Customize the dark mode toggle.
Sidebar
Customize the styling of components within the sidebar.
Topbar
Styling configurations for the topbar.
The location of the search bar entry.
"default" | "sharp"
The style of the rounded edges.
CodeBlock
The style of the code block.

Structure

Navigation[]
required
An array of groups with all the pages within that group
Array of names and urls of links you want to include in the topbar
Call to Action
string[]
Array of version names. Only use this if you want to show different versions of docs with a dropdown in the navigation bar.
Anchor[]
An array of the anchors, includes the icon, color, and url.
Anchor
Override the default configurations for the top-most anchor. Note: if you have tabs configured, this does not apply.
Tabs[]
An array of navigational tabs.Example:
An object to configure the footer with socials and links. Example:
Feedback
Configurations to enable feedback buttons
Search
Configurations to change the search prompt

API Configurations

API
Configuration for API settings. Learn more about API pages at API Components.
string | string[]
A string or an array of strings of URL(s) or relative path(s) pointing to your OpenAPI file.Examples:

Integrations

Integrations
Configurations to add third-party integrations (excluding analytics integrations)
Analytics
Configurations to add third-party analytics integrations. See full list of supported analytics here.

Redirects

Redirect[]
An array of paths you want to configure to permanently redirect to another pathExample:

Search Engine Optimization

SEO
Settings for Search Engine Optimization.Example:

Example mint.json

Click on the following dropdown to view a sample configuration file

More Customization

Learn more about how to further customize your docs with custom CSS and JS in Custom Scripts.