Configuration Cheat Sheet
note
This is a quick reference guide. All settings are thoroughly documented in the Settings page.
Essential Optionsβ
Option | Type | Default | Description |
---|---|---|---|
schema | string | β | Required. Path to schema file or introspection result |
rootPath | string | ./docs | Root folder for documentation generation |
baseURL | string | /graphql | Base URL path for generated documentation |
Document Structureβ
Option | Type | Default | Description |
---|---|---|---|
linkRoot | boolean | false | Link types to root documentation |
homepage | string | β | Custom homepage content file |
hierarchy | string | api | Documentation structure: api , entity , or flat |
index | boolean | false | Generate category indices |
pretty | boolean | false | Format generated Markdown files |
Content Optionsβ
Option | Type | Default | Description |
---|---|---|---|
noCode | boolean | false | Hide code sections |
noExample | boolean | false | Hide example sections |
noParentType | boolean | false | Hide parent type prefix |
noRelatedType | boolean | false | Hide related types section |
noTypeBadges | boolean | false | Hide type badges |
Filtering Optionsβ
Option | Type | Default | Description |
---|---|---|---|
groupByDirective | string | β | Group by directive: @directive(field) or @directive(=fallback) |
only | string[] | β | Include only types with specified directives |
skip | string[] | β | Exclude types with specified directives |
deprecated | string | default | Handling of deprecated items: default , group , skip |
Advanced Optionsβ
Option | Type | Default | Description |
---|---|---|---|
force | boolean | false | Force regeneration of all files |
diff | string | β | Diff method for schema changes |
tmpDir | string | β | Temporary directory for schema diffing |