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
QuiDocsConfig
| Prop | Type | 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< | ['h2','h3','h4'] |
Matched files will not trigger a rebuild on hot update. | RegExp | |
Knowledge generation configuration for LLM integrations. | ||
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' |
Controls how page timestamp metadata is populated from git history. | | 'off' | "off" |
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' | |
Whether to throw an error if any issues occur during MDX processing. | boolean | false |
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
made available for property documentation rendering.Refer to the QUI typedoc guide to learn more. | string | |
Options for TypeDoc property documentation. | { |
Type
stringDescription
Root app directory. NOT the full path to the directory.
Type
booleanDescription
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'
>
Description
ToC headings.
Type
RegExpDescription
Matched files will not trigger a rebuild on hot update.
Type
Description
Knowledge generation configuration for LLM integrations.
Type
NavConfig[]
Description
Optional property for defining nav item hierarchy and page metadata.
Type
stringDescription
Name of the directory where the MDX pages are located. NOT the full path to the
directory. This is relative to the appDirectory.
Type
| 'off'
| 'timestamp'
| 'user-and-timestamp'
Description
Controls how page timestamp metadata is populated from git history.
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
booleanDescription
Whether to throw an error if any issues occur during MDX processing.
Type
stringDescription
Relative path to the typeDocProps json file. If the
Refer to the QUI typedoc guide to learn more.
<TypeDocProps />
component is used in an mdx page, the data for its referenced entity will be
made available for property documentation rendering.Refer to the QUI typedoc guide to learn more.
Type
{
includeInSearchIndex?: boolean
}
Description
Options for TypeDoc property documentation.
KnowledgeConfig
Knowledge generation configuration for LLM integrations.
Presence of this config enables knowledge generation.
| Prop | Type | Default |
|---|---|---|
Base URL for documentation links in the generated output. | string | |
Glob patterns to exclude, relative to the resolved page directory. Supports
full glob syntax via minimatch. | string[] | |
exclude: ['**/internal/**', 'guide/drafts/*', '*.draft.mdx'] | ||
Extra files to include in knowledge output beyond the generated page content. | KnowledgeExtraFile[] | |
Configuration for which frontmatter fields to include in the generated
Markdown output. Uses glob patterns for flexible field selection. | KnowledgeFrontmatterConfig | |
Platform-specific integration configurations for uploading generated
knowledge to external services. | { | |
Output directory for generated knowledge files, relative to the public dir. | string | 'exports' |
Prefix to use for page IDs. Used to generate unique page IDs for knowledgebases
that span multiple QUI Docs sites with potentially overlapping routes. | string | |
`table-` | ||
Configuration for whole-page JSON exports. | PagesExportConfig | |
Configuration for header-scoped section exports. | SectionExportConfig | |
Type
stringDescription
Base URL for documentation links in the generated output.
Type
string[]
Description
Glob patterns to exclude, relative to the resolved page directory. Supports
full glob syntax via minimatch.
exclude: ['**/internal/**', 'guide/drafts/*', '*.draft.mdx']
Type
KnowledgeExtraFile[]
Description
Extra files to include in knowledge output beyond the generated page content.
Type
KnowledgeFrontmatterConfigDescription
Configuration for which frontmatter fields to include in the generated
Markdown output. Uses glob patterns for flexible field selection.
Type
{
openWebUi?: Array<{
envFile?: string
id: string
}>
}
Description
Platform-specific integration configurations for uploading generated
knowledge to external services.
Type
stringDescription
Output directory for generated knowledge files, relative to the public dir.
Type
stringDescription
Prefix to use for page IDs. Used to generate unique page IDs for knowledgebases
that span multiple QUI Docs sites with potentially overlapping routes.
`table-`Type
PagesExportConfigDescription
Configuration for whole-page JSON exports.
Type
SectionExportConfigDescription
Configuration for header-scoped section exports.
KnowledgeExportsConfig
Entity not found:
KnowledgeExportsConfigKnowledgeIntegrationConfig
Entity not found:
KnowledgeIntegrationConfigLast updated on by Ryan Bower