Customize your docs site’s appearance, colors, logo, navbar links, navigation structure, and API playground behavior using the docs.json file.
Every Mintlify site is controlled by a single docs.json file at the root of your repository. This file defines your project name, visual branding, sidebar navigation, API settings, and more. Changes you make here are reflected immediately on your published site.
Every Mintlify site requires a docs.json file at the root of the repository. Without it, your site will not build.
Array of link objects displayed in the navbar. Each entry accepts a label and href. Use type: "github" to show a repo with its star count, or type: "discord" to show a server with its online count.
An array of version strings (for example, ["v2", "v1"]) that render a version dropdown in the navbar. Each version should correspond to a matching navigation structure. See the navigation reference for how to define per-version pages.
Persistent sidebar links that appear at the top of the navigation panel, above your page groups. Each anchor accepts an icon, name, url, and optional color.
The base URL prepended to all API endpoint paths in the playground. For example, setting this to https://api.example.com means a GET /users endpoint will send requests to https://api.example.com/users.
How the playground is displayed. Use "show" for the full interactive try-it experience, "simple" to display the request without allowing edits, or "hide" to remove it entirely.
Path or URL to one or more OpenAPI specification files. Mintlify uses this to generate API reference pages and power the playground. Accepts a single path string or an array of paths.
An object mapping social platform keys to their URLs. Mintlify renders the appropriate icon for each platform automatically.Supported keys: x, github, linkedin, discord, slack, youtube, facebook, instagram, medium, telegram, bluesky, threads, reddit, hacker-news, podcast, website.
You can validate your docs.json configuration locally by running mint validate with the Mintlify CLI. Run mint dev to preview all changes before publishing.