Skip to main content
Every docs site needs a docs.json file at the root. This file controls the name, colors, navigation, logo, and more. Below is a reference for all supported properties.

Properties

string
required
Name of your project. Used as the global title in the browser tab and navbar.Example: Clarivo
Navigation[]
required
An array of groups with all the pages within that group.
Path to logo image or object with path to “light” and “dark” mode logo images.
string
Path to the favicon image. Example: /favicon.svg
Colors
Hex color codes for your global theme. Clarivo uses:
  • primary / light: #18E299
  • dark: #0C8C5E
Links shown in the top navigation bar.
Call to Action
string[]
Array of version names. Use when you need a version dropdown in the navbar.
Anchor[]
Anchors shown in the sidebar below the navigation.
Tabs[]
Top-level navigation tabs.
string | string[]
Path or URL to your OpenAPI spec file. Clarivo uses:
Supports multiple specs:
Social links shown in the footer.Example:
Feedback
Enable feedback buttons on pages.
ModeToggle
Control dark/light mode behavior.