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

name
string
required
Name of your project. Used as the global title in the browser tab and navbar.Example: Clarivo
navigation
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.
favicon
string
Path to the favicon image. Example: /favicon.svg
colors
Colors
Hex color codes for your global theme. Clarivo uses:
  • primary / light: #18E299
  • dark: #0C8C5E
Links shown in the top navigation bar.
topbarCtaButton
Call to Action
versions
string[]
Array of version names. Use when you need a version dropdown in the navbar.
anchors
Anchor[]
Anchors shown in the sidebar below the navigation.
tabs
Tabs[]
Top-level navigation tabs.
openapi
string | string[]
Path or URL to your OpenAPI spec file. Clarivo uses:
"openapi": "api-reference/openapi.yaml"
Supports multiple specs:
"openapi": ["api-reference/openapi.yaml", "api-reference/webhooks.yaml"]
Social links shown in the footer.Example:
{
  "linkedin": "https://linkedin.com/company/clarivo"
}
feedback
Feedback
Enable feedback buttons on pages.
modeToggle
ModeToggle
Control dark/light mode behavior.