Skip to main content

The docs.json file

Skip to the reference
Every documentation site requires a docs.json file. This file contains the global configuration settings and controls everything from styling and navigation to integrations.

Reference

This section contains the full reference for the docs.json file.

Customization

required
One of the following: mint, maple, palm, willow, linden, almond.The layout theme of the project. Check out the Themes page for more information.
string
required
The name of the project, organization, or product
object
required
The colors to use in your documentation. At the very least, you must define the primary color. For example:
string
Optional description used for SEO and LLM indexing
The logo (for both light and dark mode)
string or object
The path to your favicon file in the docs folder, including the file extension. The file will automatically be resized to appropriate favicon sizes. Can be a single file or a pair for light and dark mode. Example: /favicon.png
object
Styling configurations
object
Icon library settings
object
object
Light / dark mode toggle settings
object
Background color and decoration settings

Structure

object
Navbar content and settings
object
required
The navigation structure of the content
Footer configurations
object
Banner configurations
array of object
object

API Configurations

object
API reference configuration and playground settings
object
SEO indexing configurations
Search display settings

Integrations

object
Configurations for official integrations

Errors

object

Validation

It is advised to include the following schema reference at the top of your docs.json file to ensure proper validation while editing: