QuiDocsConfig

This page contains an API reference for the QUI Docs configuration object. Refer to the config guide to learn about how to apply these properties.

API

Name & DescriptionOption(s)Default
Root app directory. NOT the full path to the directory.
string
'app'
Disable the file cache. This cache stores the result of parsed MDX files based on each file's md5 checksum. On subsequent edits, values are retrieved from the cache and parsing is avoided for files that have not changed.
boolean
ToC headings.
Array<
| 'h1'
| 'h2'
| 'h3'
| 'h4'
| 'h5'
| 'h6'
>
['h2','h3','h4']
Matched files will not trigger a rebuild on hot update.
RegExp
Optional property for defining nav item hierarchy and page metadata.
NavConfig[]
Name of the directory where the MDX pages are located. NOT the full path to the directory. This is relative to the appDirectory.
string
'routes'
Strategy to use for building each route's path segments. Omit this property if you are using the default remix-flat-routes configuration.
| 'vite-generouted'
| ((
filePath: string,
) => string[])
Relative path to the typeDocProps json file. If the <TypeDocProps /> component is used in an mdx page, the data for its referenced entity will be built into the search index for that page.

Refer to the
QUI typedoc guide to learn more.
string
Type
string
Default
'app'
Description
Root app directory. NOT the full path to the directory.
Type
boolean
Description
Disable the file cache. This cache stores the result of parsed MDX files based on each file's md5 checksum. On subsequent edits, values are retrieved from the cache and parsing is avoided for files that have not changed.
Type
Array<
| 'h1'
| 'h2'
| 'h3'
| 'h4'
| 'h5'
| 'h6'
>
Default
['h2','h3','h4']
Description
ToC headings.
Type
RegExp
Description
Matched files will not trigger a rebuild on hot update.
Description
Optional property for defining nav item hierarchy and page metadata.
Type
string
Default
'routes'
Description
Name of the directory where the MDX pages are located. NOT the full path to the directory. This is relative to the appDirectory.
Type
| 'vite-generouted'
| ((
filePath: string,
) => string[])
Description
Strategy to use for building each route's path segments. Omit this property if you are using the default remix-flat-routes configuration.
Type
string
Description
Relative path to the typeDocProps json file. If the <TypeDocProps /> component is used in an mdx page, the data for its referenced entity will be built into the search index for that page.

Refer to the
QUI typedoc guide to learn more.