Global Settings
Configure your documentation using the docs.json
file
Global Documentation Configuration
Every documentation site requires a docs.json
file that contains the core configuration settings. This file is the central control point for everything from styling and navigation to integrations and analytics.
If you’re currently using the legacy mint.json
configuration file, please update the CLI:
And run the new upgrade
command in your docs repository:
This will generate a docs.json
based off of your mint.json
. Then, please delete the mint.json
file from your repository.
Make sure to place your docs.json
file in the root directory of your documentation project.
Core Properties
These fundamental settings define your documentation’s identity and basic configuration.
Project Information
The name of your project, organization, or product. This appears in various places throughout your documentation.
Minimum length: 1 character
A brief description of your documentation site. This is used for SEO purposes and LLM indexing to help users find your content.
Theme Selection
Visual Customization
Configure the visual elements of your documentation to match your brand.
Brand Colors
Define your documentation’s color scheme. At minimum, specify the primary color:
Logo Configuration
Set your documentation’s logo. You can either use a single logo or specify different versions for light and dark modes.
Favicon Settings
Configure your site’s favicon. The file will be automatically resized to appropriate favicon sizes.
Typography & Fonts
Customize the typography of your documentation with custom fonts.
Navigation Structure
Main Navigation
Define your documentation’s navigation structure.
Header & Footer
Configure the top navigation bar.
Configure the footer content and layout.
API Documentation
Settings for API reference documentation.
Analytics & Integrations
Configure third-party integrations.
Best Practices
When configuring your docs.json
file:
- Keep related settings grouped together
- Use meaningful names for navigation items
- Provide complete paths for all assets
- Test configurations in both light and dark modes
- Verify all external links
- Maintain appropriate color contrast
- Configure SEO settings properly
Use JSON schema validation to ensure your configuration is correct. Add this to your docs.json
:
Example Configuration
Remember to validate your configuration after making changes. Use the Mintlify CLI to test your documentation locally before deploying.