Configuration

View source

Configure site metadata, navigation, themes, search, syntax highlighting, and the documentation UI locale.

Folio loads a TypeScript configuration file from the project root. The preferred filename is docs.config.ts:

The loader also accepts JavaScript and legacy nikala.config.* filenames. Configuration values are merged with the engine defaults. Nested theme, navigation.sidebar, shiki, and search values are merged as well.

Use the topic pages in this section for the complete configuration reference:

Keep site-specific values in docs.config.ts. Do not hardcode paths or branding in engine source.