Skip to main content

Configuration Cheat Sheet

note

This is a quick reference guide. All settings are thoroughly documented in the Settings page.

Essential Options

OptionTypeDefaultDescription
schemastringRequired. Path to schema file or introspection result
rootPathstring./docsRoot folder for documentation generation
baseURLstring/graphqlBase URL path for generated documentation

Document Structure

OptionTypeDefaultDescription
linkRootbooleanfalseLink types to root documentation
homepagestringCustom homepage content file
hierarchystringapiDocumentation structure: api, entity, or flat
indexbooleanfalseGenerate category indices
categorySortstring | functionSort categories: "natural" for alphabetical or custom function
prettybooleanfalseFormat generated Markdown files

Content Options

OptionTypeDefaultDescription
noCodebooleanfalseHide code sections
noExamplebooleanfalseHide example sections
noParentTypebooleanfalseHide parent type prefix
noRelatedTypebooleanfalseHide related types section
noTypeBadgesbooleanfalseHide type badges

Filtering Options

OptionTypeDefaultDescription
groupByDirectivestringGroup by directive: @directive(field) or @directive(=fallback)
onlystring[]Include only types with specified directives
skipstring[]Exclude types with specified directives
deprecatedstringdefaultHandling of deprecated items: default, group, skip

Advanced Options

OptionTypeDefaultDescription
forcebooleanfalseForce regeneration of all files
diffstringDiff method for schema changes
tmpDirstringTemporary directory for schema diffing