Config Reference
Reference for the docs.json fields you will use most often.
Top-Level Fields
Config version. Use 0.1.
Site name.
Site description for metadata and UI context.
Theme name. Use phase.
Logo path, or light and dark logo paths.
Favicon path.
Styling options.
Brand colors.
Theme mode settings.
Top navigation links and primary button.
Main docs structure, including tabs and optional languages.
Footer links and social links.
Redirect rules.
Search prompt text.
Not-found behavior.
Default theme mode.
If true, Relevate always uses the selected mode.
Primary accent color.
Light-mode accent color.
Dark-mode accent color.
Optional background colors for light and dark mode.
Top-level tabs.
Language switcher settings.
Default language code.
Languages shown in the switcher.
A page, a page object, or a grouped section.
Optional language filter for a page or group.
Minimal Valid Config
{
"version": "0.1",
"name": "My Docs",
"navigation": {
"tabs": [
{
"id": "docs",
"label": "Documentation",
"content": ["index"]
}
]
}
}
Minimal Multilingual Config
{
"version": "0.1",
"name": "My Docs",
"navigation": {
"languages": {
"default": "en",
"items": ["en", "fr", "jp"]
},
"tabs": [
{
"id": "docs",
"label": {
"en": "Docs",
"fr": "Documentation",
"jp": "ドã‚ュメント"
},
"content": ["index", "getting-started"]
}
]
}
}