Skip to Content
DocsOptions

Options

This page provides an overview of all available options for the plugin. It includes both the core options provided by TypeDoc (where supported) and the additional options added by this plugin.

TypeDoc Options

TypeDoc exposes many options, most of which this plugin supports while others are HTML-only and ignored.

Output

Output options control TypeDoc’s generated output. These options mainly apply to TypeDoc’s default HTML renderer, but this plugin supports or extends a subset.

The options listed here are the output options that this plugin supports or extends.

Option NameDescription
outputsSpecifies the outputs which should be rendered by TypeDoc.
outSpecifies the location the markdown should be written to.
routerSelects the router used to determine the file and folder structure.
langSets the language of the translations used when generating documentation.
cleanOutputDirUsed to prevent TypeDoc from cleaning the output directory.
navigationDetermines how the navigation JSON structure will be built.
includeHierarchySummarySpecifies whether or not to generate a dedicated hierarchy page.

Conversion

Conversion options control how TypeDoc analyzes the source code and builds the reflection models. They are theme-agnostic and are not affected by this plugin.

The option groups listed here link directly to the TypeDoc documentation website.

Option GroupDescription
Configuration Options that control where TypeDoc reads its configuration from.
Input Options that control what files TypeDoc processes.
Comments Options that control how TypeDoc parses comments.
Organization Options that control how content is structured on generated pages.
Validation Options that control how TypeDoc validates your documentation.
Other Options which don’t fit elsewhere.

Plugin Options

In addition to the TypeDoc core options, this plugin provides its own options. They can be viewed as a subset of output-related options specific to this plugin’s functionality.

File

File options are used by the plugin’s router to configure file output details.

Option NameDescription
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

Display options are used to configure how the output is structured and displayed.

Option NameDescription
hidePageHeaderHide the page header.
hideBreadcrumbsHide the page breadcrumbs.
hidePageTitleHide the page title.
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.
strikeDeprecatedPageTitlesControls whether to strikethrough page titles of deprecated items.
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.
pageTitleTemplatesConfigure page title output with placeholders.
tableColumnSettingsControl how table columns are configured and displayed.

Utility

Utility options are used for general configuration and utility purposes.

Option NameDescription
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.
useCustomAnchorsAdd custom anchors like {#custom-id} to headings.
customAnchorsFormatThe format of custom anchors.
useHTMLAnchorsAdd HTML anchors to page headings.
anchorPrefixCustom anchor prefix to add to anchor links.
sanitizeCommentsSanitize HTML and JSX inside JsDoc comments.
navigationJsonSpecifies the file path where the navigation JSON will be written.
Last updated on