OPTIONS

RapiDoc properties

Spec
Theme
scale
Relative scale factor for typography and UI elements across the documentation portal.Default: default
Global scale for typography and spacing
color-scheme
Base color scheme mode. 'system' automatically matches the user's OS preference. 'auto' follows the host page: it reads the page's CSS color-scheme (for example :root[data-theme='light'] { color-scheme: light }, as Starlight sets it) and updates when the page switches theme; when the page declares none, it falls back to the OS preference.Default: dark
Dark, light, or follow the system or the page
Layout & Scrolling
render-style
Controls the overall documentation presentation layout. Three distinct modes are supported:
  • view: Optimized for interactive exploration with collapsible operations | Example
  • read: Continuous narrative page layout, ideal for reading through API specifications from top to bottom | Example
  • focused: Displays a single endpoint at a time with a dedicated sidebar, ideal for large enterprise schemas | Example
Default: read
Display mode: Read for docs, View with tabs, Focused for single endpoint
Schemas
schema-style
Controls the visual representation of complex JSON schemas in request and response panels. 'tree' provides an interactive collapsible tree view; 'table' renders structured tabular rows.Default: tree
Display schemas as visual table or tree hierarchy
Fonts
--font-sans
Main document body and heading font family
--font-mono
Monospace font family for code blocks and schema types