Settings
Main settings interface for the application
Properties
theme
Theme
Theme configuration for the applicationname
"poetry" | "cosmo" | "opener" | "picasso" | string
Required
A theme name.logo
any
Path to logo image or object with path to "light" and "dark" mode logo images, and where the logo links to.fonts
ThemeFont
Font configuration for the theme.Font
Font
family
string
The font family to use.weight
string
The font weight to use.src
string
The font src to use.format
"woff2" | "woff" | "ttf"
The font format to use.
Font[]
Font[]
{ body?: Font
{ body?: Font
Font[]; coder?: Font
Font[]; coder?: Font
Font[]; }
Font[]; }
favicon
string
Path to the favicon image. For example: /path/to/favicon.svgicons
Icons
The iconify library setup.library
The iconify libraryIconLibrary
IconLibrary
name
string
Required
The iconify library nameversion
string
The iconify library versiondefault
boolean
The default iconify icon namenoprefix
boolean
Merge icons from the library into the default iconify library
string
string
IconLibrary[]
IconLibrary[]
appearance
Appearance
Appearance configuration for the theme.colorScheme
"light" | "dark" | "os"
The default color scheme to use.colors
Colors
Colors configuration for the theme.primary
string
Required
The primary color of the theme.light
string
The light color of the theme.dark
string
The dark color of the theme.
cssTokens
{ [token: string]: string; }
CSS tokens for the theme.presets
string[]
Presets for the theme.logo
AppearanceLogo
Logo appearance for the theme.sidebar
boolean | "mobile" | "desktop"
If
true
then the logo will be displayed on the sidebar.header
boolean | "mobile" | "desktop"
If
true
then the logo will be displayed on the header.
search
AppearanceSearch
Search appearance for the theme.fullWidth
boolean
If
true
then the search bar will be displayed as a full width.sidebar
boolean | "mobile" | "desktop"
If
true
then the search bar will be displayed on the sidebar.middle
boolean | "mobile" | "desktop"
If
true
then the search bar will be displayed in the middle of the header.right
boolean | "mobile" | "desktop"
If
true
then the search bar will be displayed on the right side of the header.
header
AppearanceHeader
Header appearance for the theme.externalArrow
boolean
If
true
then the header external links will display an external arrow.separator
"right"
If
right
then separator will be displayed on the right side of the header.type
"classic" | "pad"
The type of the header.buttonSize
"sm" | "md" | "lg"
The button size of the header.
tabs
AppearanceTabs
Tabs appearance for the theme.surface
"center" | "sidebar"
The tabs to display in the header.
sidebar
AppearanceSidebar
Sidebar appearance for the theme.externalArrow
boolean
If
true
then the sidebar will display a scroll shadow.scrollShadow
boolean
If
true
then the sidebar will display a scroll shadow.scrollbar
"secondary"
The color of the sidebar scrollbar.scrollbarColor
string
The color of the sidebar scrollbar.scrollTransition
"smooth" | "instant"
The transition behaviour of the sidebar scroll when navigating to a new page.
buttons
AppearanceButtons
Buttons appearance for the theme.rounded
boolean | "sm" | "md" | "lg"
tables
AppearanceTables
Table appearance for the theme.kind
"secondary"
The kind of the table.
banner
AppearanceBanner
Banner appearance for the theme.fixed
boolean
If
true
then the banner will have fixed position (always visible).
content
AppearanceContent
Content appearance for the theme.contentDecorator
"secondary"
Content decorator for the theme.breadcrumbs
boolean
If
true
then the breadcrumbs will be displayed.sectionSeparator
boolean
If
true
then the section separator will be displayed.
footer
AppearanceFooter
Footer appearance for the theme.surface
"page"
The footer surface.
writer
Writer
Writer configuration for the theme.maxTocDepth
number
The maximum number of table of conten§ts levels.copyPage
boolean
Copy page button
coder
Coder
Coder configuration for the theme, including options like syntax highlighting.lines
boolean
If
true
then code blocks will have line numbers by default.scroll
boolean
If
true
then code blocks will have a scrollbar by default.syntaxHighlight
any
Syntax highlighting configuration.
head
array of [string, Record<string, string | boolean>, ]
Head configurationscripts
string[]
Custom scripts to be added to the head of the every page. Paths are relative to the root of the project or absolute.
navigation
Navigation
Navigation configurationsidebar
array of SidebarNavigation
Required
Sidebar navigation typeSidebarRoute
SidebarRoute
Sidebar route configurationroute
string
Required
Route for this sidebargroup
string
The group of the routeid
string
The id of the routepages
Required
Sidebar pages within this route or sub routes
Sidebar
Sidebar
Sidebar configurationgroup
string
The name of the grouppages
array of PageURL
Page URL typeSidebar
Sidebar
Sidebar configurationgroup
string
The name of the grouppages
array of PageURL
The relative paths to the markdown files that will serve as pages. Note: groups are recursive, so to add a sub-folder add another group object in the page array.icon
string
The icon of the group.order
Order
The order of the group.
string
string
icon
string
The icon of the group.order
Order
The order of the group.
string
string
tabs
array of Tabs NavigationItem
Tabs configurationtitle
string
The navigation item titledescription
string
The navigation item descriptionpage
string
The navigation page, if set it redirects to the page + matches based on routinghref
string
The navigation href, if set it redirects but does not match based on routingicon
any
The navigation item icon
sidebarDropdown
array of SidebarDropdown NavigationItem
Sidebar dropdown navigation - navigation through dropdown in the sidebar.title
string
The navigation item titledescription
string
The navigation item descriptionpage
string
The navigation page, if set it redirects to the page + matches based on routinghref
string
The navigation href, if set it redirects but does not match based on routingicon
any
The navigation item icon
segments
array of Segment
Segment configurationroute
string
Required
Route for this segmenttitle
string
Title of this segmentappearance
"sidebarDropdown"
Appearance of this segment. If 'sidebarDropdown' then show this segment as a dropdown in the sidebar if match.pages
array of NavigationItem
Required
Core interface for navigation itemstitle
string
The navigation item titledescription
string
The navigation item descriptionpage
string
The navigation page, if set it redirects to the page + matches based on routinghref
string
The navigation href, if set it redirects but does not match based on routingicon
any
The navigation item icon
anchors
Anchors
Anchors navigation - fixed navigation, for anchor-like elements.header
array of AnchorHeader
Header anchorsNavigationItem
NavigationItem
Core interface for navigation itemstitle
string
The navigation item titledescription
string
The navigation item descriptionpage
string
The navigation page, if set it redirects to the page + matches based on routinghref
string
The navigation href, if set it redirects but does not match based on routingicon
any
The navigation item icon
NavigationItemButton
NavigationItemButton
NavigationItem
NavigationItem
Core interface for navigation itemstitle
string
The navigation item titledescription
string
The navigation item descriptionpage
string
The navigation page, if set it redirects to the page + matches based on routinghref
string
The navigation href, if set it redirects but does not match based on routingicon
any
The navigation item icon
NavigationItem & { button: "primary"
NavigationItem & { button: "primary"
"secondary"; }
"secondary"; }
NavigationItemSocial
NavigationItemSocial
NavigationItem
NavigationItem
Core interface for navigation itemstitle
string
The navigation item titledescription
string
The navigation item descriptionpage
string
The navigation page, if set it redirects to the page + matches based on routinghref
string
The navigation href, if set it redirects but does not match based on routingicon
any
The navigation item icon
NavigationItem & { social: Social; }
NavigationItem & { social: Social; }
sidebar
{ top?: NavigationItem[]; bottom?: NavigationItem[]; }
Sidebar anchorstop
array of NavigationItem
bottom
array of NavigationItem
api
API
API Docs configurationopenapi
APIFile
API file configuration. Can be a path, an array of paths, a map of paths, or an advanced configurationAPIFileMap
APIFileMap { [name: string]: string | APIFileAdvanced; }
API file map typeAPIFileAdvanced
APIFileAdvanced
API file advanced typeinfo
APIInfo
API information configurationbaseUrl
string
The base url for all API endpoints. If baseUrl is an array, it will enable for multiple base url options that the user can toggle.auth
APIAuth
Authentication informationmethod
"bearer" | "basic" | "key"
Required
The authentication strategy used for all API endpoints
name
string
The name of the authentication parameter used in the API playground. If method is basic, the format should be [usernameName]:[passwordName]inputPrefix
string
The default value that's designed to be a prefisx for the authentication input field. E.g. If an inputPrefix of AuthKey would inherit the default input result of the authentication field as AuthKey.request
APIInfoRequest
Request configurationexample
{ languages?: string[]; }
Configurations for the auto-generated API request exampleslanguages
string[]
An array of strings that determine the order of the languages of the auto-generated request examples. You can either define custom languages utilizing x-codeSamples or use our default languages which include bash, python, javascript, php, go, java
route
string
Required
Route configuration
string
string
string[]
string[]
graphql
APIFile
API file configuration. Can be a path, an array of paths, a map of paths, or an advanced configurationAPIFileMap
APIFileMap { [name: string]: string | APIFileAdvanced; }
API file map typeAPIFileAdvanced
APIFileAdvanced
API file advanced typeinfo
APIInfo
API information configurationbaseUrl
string
The base url for all API endpoints. If baseUrl is an array, it will enable for multiple base url options that the user can toggle.auth
APIAuth
Authentication informationmethod
"bearer" | "basic" | "key"
Required
The authentication strategy used for all API endpoints
name
string
The name of the authentication parameter used in the API playground. If method is basic, the format should be [usernameName]:[passwordName]inputPrefix
string
The default value that's designed to be a prefisx for the authentication input field. E.g. If an inputPrefix of AuthKey would inherit the default input result of the authentication field as AuthKey.request
APIInfoRequest
Request configurationexample
{ languages?: string[]; }
Configurations for the auto-generated API request exampleslanguages
string[]
An array of strings that determine the order of the languages of the auto-generated request examples. You can either define custom languages utilizing x-codeSamples or use our default languages which include bash, python, javascript, php, go, java
route
string
Required
Route configuration
string
string
string[]
string[]
sources
APIFile
API file configuration. Can be a path, an array of paths, a map of paths, or an advanced configurationAPIFileMap
APIFileMap { [name: string]: string | APIFileAdvanced; }
API file map typeAPIFileAdvanced
APIFileAdvanced
API file advanced typeinfo
APIInfo
API information configurationbaseUrl
string
The base url for all API endpoints. If baseUrl is an array, it will enable for multiple base url options that the user can toggle.auth
APIAuth
Authentication informationmethod
"bearer" | "basic" | "key"
Required
The authentication strategy used for all API endpoints
name
string
The name of the authentication parameter used in the API playground. If method is basic, the format should be [usernameName]:[passwordName]inputPrefix
string
The default value that's designed to be a prefisx for the authentication input field. E.g. If an inputPrefix of AuthKey would inherit the default input result of the authentication field as AuthKey.request
APIInfoRequest
Request configurationexample
{ languages?: string[]; }
Configurations for the auto-generated API request exampleslanguages
string[]
An array of strings that determine the order of the languages of the auto-generated request examples. You can either define custom languages utilizing x-codeSamples or use our default languages which include bash, python, javascript, php, go, java
route
string
Required
Route configuration
string
string
string[]
string[]
integrations
Integrations
Integrations configurationanalytics
IntegrationAnalytics
Configurations to add third-party analytics integrations. See full list of supported analytics here.livesession
IntegrationAnalyticsLiveSession
Livesession analytics configurationtrackId
string
Required
Livesession's TrackID
support
IntegrationSupport
Configurations to add third-party support integrations.chatwoot
IntegrationSupportChatwoot
Chatwoot support configurationwebsiteToken
string
Required
Chatwoot website tokenbaseURL
string
Chatwoot base URLchatwootSettings
JSON
Chatwoot settings
intercom
IntegrationSupportIntercom
Intercom support configurationappId
string
Required
Intercom app IDapiBase
string
Intercom API base
livechat
IntegrationSupportLivechat
Livechat support configurationlicenseId
string
Required
Livechat license ID
search
IntegrationSearch
Configurations to add third-party search integrations. See full list of supported search here.algolia
{ appId: string; apiKey: string; }
Algolia search configurationappId
string
Required
Algolia application IDapiKey
string
Required
Algolia API key
orama
abtesting
IntegrationABTesting
A/B testing configurationcontextMaxAge
number
Context max age in millisecondscontextStorageKey
string
Context storage key used to store the context in the browser storageproviders
IntegrationABTestingProviders
Providers configurationgrowthbook
IntegrationABTestingGrowthBook
GrowthBook configurationapiHost
string
Required
GrowthBook API hostclientKey
string
Required
GrowthBook client key
launchdarkly
IntegrationABTestingLaunchDarkly
LaunchDarkly configurationenv
string
Required
LaunchDarkly environment key
diagrams
boolean
Diagrams configurationeditLink
EditLink
Edit link configurationbaseUrl
string
Required
The base URL for the edit linktitle
string
The title for the edit linkicon
string
The icon for the edit link
.apps
AppsDirectory
Custom apps directory.githubStar
IntegrationAppGithubStar
Github star app configuration.title
string
Required
The title of the Github buttonlabel
string
The label of the Github Buttonhref
string
Required
The href of the Github projectdataShowCount
boolean
The data-show-count of the Github projectdataIcon
string
The data-icon of the Github buttondataSize
string
The data-size of the Github buttonariaLabel
string
The aria-label of the Github button
supademo
IntegrationAppSupademo
Supademo app configuration.apiKey
string
Required
The Supademo API key
plugins
array of Plugins
Plugin configurationPluginConfig
[PluginName, PluginArgs[]]
string
string
seo
SEO
SEO configurationdomain
string
Domain namemetatags
{ [tag: string]: string; }
Meta tags
components
Components
Components configurationbanner
WebEditorBanner
WebEditor banner configurationcontent
any
Required
Banner content.label
string
Banner label.kind
"secondary"
Banner kind.href
string
Banner href.icon
string
Banner icon.
footer
WebEditorFooter
WebEditor footer configurationkind
"minimal"
logo
any
social
{ [K in Social]?: string; }
Footer socialsx
string
facebook
string
youtube
string
discord
string
slack
string
github
string
linkedin
string
instagram
string
hackernews
string
medium
string
telegram
string
bluesky
string
reddit
string
links
WebEditorFooterLinks
Footer linksfootnote
any
Footer footnote
engine
Engine
Engine configuration - advanced engine-like configurationpaths
{ [key: string]: string[]; }
Path aliases for imports. Avoid long relative paths by creating shortcuts.uniform
EngineUniform
Uniform configurationstore
boolean
If
true
then virtual pages will not created and generated content will be stored on disk
Show your support! Star us on GitHub ⭐️