Skip to Content
DocsPlugin Options

Plugin Options

This page documents additional options that are exposed by this plugin.

Note: The options must be set at root level and will be ignored inside packageOptions.

File Options

Options that are used by the plugin’s routers to configure how files are output.

OptionDescription
fileExtensionSpecify the file extension for generated output files.
entryFileNameThe file name of the entry page.
modulesFileNameThe file name of the separate modules / index page.
mergeReadmeAppends the documentation index page to the readme page.
flattenOutputFilesFlatten output files to a single directory.
excludeScopesInPathsExclude writing @ scope directories in paths.

Display Options

Options that are used to configure how the output is structured and displayed.

OptionDescription
hidePageHeaderDo not print page header.
hideBreadcrumbsDo not print breadcrumbs.
hidePageTitleDo not print page title.
hideGroupHeadingsExcludes grouping by kind so all members are rendered at the same level.
useCodeBlocksWraps signatures and declarations in code blocks.
expandObjectsExpand objects inside declarations.
expandParametersExpand parameters in signature parentheses to display type information.
blockTagsPreserveOrderSpecifies comment block tags that should preserve their position.
indexFormatSets the format of index items.
parametersFormatSets the format of parameter and type parameter groups.
interfacePropertiesFormatSets the format of property groups for interfaces.
classPropertiesFormatSets the format of property groups for classes.
typeAliasPropertiesFormatSets the format of style for type alias properties.
enumMembersFormatSets the format of enumeration members.
propertyMembersFormatSets the format of style for property members for interfaces and classes.
typeDeclarationFormatSets the format of style for type declaration members.
typeDeclarationVisibilitySet the visibility level for type declaration documentation.
tableColumnSettingsControl how table columns are configured and displayed.
pageTitleTemplatesChange specific text placeholders in the template.

Utility Options

Options that are used for general configuration and utility purposes.

OptionDescription
formatWithPrettierApply additional output formatting with Prettier.
prettierConfigFileSpecify a custom Prettier configuration file location.
publicPathSpecify the base path for all urls.
useHTMLEncodedBracketsUse HTML encoded entities for angle brackets.
useHTMLAnchorsAdd HTML anchors to page headings.
anchorPrefixCustom anchor prefix to add to anchor links.
sanitizeCommentsSanitize HTML and JSX inside JsDoc comments.
Last updated on