docs.json is the single configuration file that controls everything about your Mintlify site. It lives at the root of your documentation repository.
Required fields
Everydocs.json must include these four fields:
Appearance
- Logo and favicon
- Colors
- Fonts
Set
logo.light and logo.dark to paths for your logo images. Mintlify switches between them based on the visitor’s color scheme preference.Site structure
navbar— Configure the top navigation bar: links and a primary CTA button.footer— Add social media links displayed at the bottom of every page.banner— Show a site-wide announcement bar with a message and optional link.redirects— Map old URLs to new ones to preserve links when you restructure content.
API settings
If your docs include an API reference, configure it underapi:
SEO
Setmetadata fields to control how your site appears in search results and social link previews. The timestamp option adds a last-updated date to each page automatically from its Git history.