Type object
File match typedoc.json
Schema URL https://catalog.lintel.tools/schemas/schemastore/typedoc-json/latest.json
Source https://typedoc.org/schema.json

Validate with Lintel

npx @lintel/lintel check
Type: object

Properties

options string

Specify a json option file that should be loaded. If not specified TypeDoc will look for 'typedoc.json' in the current directory

tsconfig string

Specify a TypeScript config file that should be loaded. If not specified TypeDoc will look for 'tsconfig.json' in the current directory

compilerOptions object

Selectively override the TypeScript compiler options used by TypeDoc

lang string

Sets the language to be used in generation and in TypeDoc's messages

Default: "en"
locales

Add translations for a specified locale. This option is primarily intended to be used as a stopgap while waiting for official locale support to be added to TypeDoc

Default:
{}
packageOptions

Set options which will be set within each package when entryPointStrategy is set to packages

Default:
{}
entryPoints string[]

The entry points of your documentation

Default:
[]
entryPointStrategy enum

The strategy to be used to convert entry points into documentation modules

Default: "resolve"
Values: "resolve" "expand" "packages" "merge"
alwaysCreateEntryPointModule boolean

When set, TypeDoc will always create a Module for entry points, even if only one is provided

Default: false
projectDocuments string[]

Documents which should be added as children to the root of the generated documentation. Supports globs to match multiple files

Default:
[]
exclude string[]

Define patterns to be excluded when expanding a directory that was specified as an entry point

Default:
[]
externalPattern string[]

Define patterns for files that should be considered being external

Default:
[
  "**/node_modules/**"
]
excludeExternals boolean

Prevent externally resolved symbols from being documented

Default: false
excludeNotDocumented boolean

Prevent symbols that are not explicitly documented from appearing in the results

Default: false
excludeNotDocumentedKinds string[]

Specify the type of reflections that can be removed by excludeNotDocumented

Default:
[
  "Module",
  "Namespace",
  "Enum",
  "Variable",
  "Function",
  "Class",
  "Interface",
  "Constructor",
  "Property",
  "Method",
  "CallSignature",
  "IndexSignature",
  "ConstructorSignature",
  "Accessor",
  "GetSignature",
  "SetSignature",
  "TypeAlias",
  "Reference"
]
excludeInternal boolean

Prevent symbols that are marked with @internal from being documented

Default: false
excludeCategories string[]

Exclude symbols within this category from the documentation

Default:
[]
excludePrivate boolean

Ignore members marked with the private keyword and #private class fields, defaults to true.

Default: true
excludePrivateClassFields boolean

Ignore #private class fields, defaults to true.

Default: true
excludeProtected boolean

Ignore protected variables and methods

Default: false
excludeReferences boolean

If a symbol is exported multiple times, ignore all but the first export

Default: false
externalSymbolLinkMappings

Define custom links for symbols not included in the documentation

Default:
{}
readme string

Path to the readme file that should be displayed on the index page. Pass none to disable the index page and start the documentation on the globals page

Default: ""
basePath string

Specifies a path which links may be resolved relative to.

Default: ""
outputs

Specify the location the documentation for the default output should be written to. The default output type may be changed by plugins.

out string

Specify the location the documentation for the default output should be written to. The default output type may be changed by plugins.

Default: "./docs"
html string

Specify the location where html documentation should be written to.

Default: ""
json string

Specify the location and filename a JSON file describing the project is written to

Default: ""
pretty boolean

Specify whether the output JSON should be formatted with tabs

Default: true
emit enum

Specify what TypeDoc should emit, 'docs', 'both', or 'none'

Default: "docs"
Values: "both" "docs" "none"
theme string

Specify the theme name to render the documentation with

Default: "default"
router string

Specify the router name to use to determine file names in the documentation

Default: "kind"
lightHighlightTheme string

Specify the code highlighting theme in light mode

Default: "light-plus"
darkHighlightTheme string

Specify the code highlighting theme in dark mode

Default: "dark-plus"
highlightLanguages string[]

Specify the languages which will be loaded to highlight code when rendering

Default:
[
  "bash",
  "console",
  "css",
  "html",
  "javascript",
  "json",
  "jsonc",
  "json5",
  "yaml",
  "tsx",
  "typescript"
]
ignoredHighlightLanguages string[]

Specify languages which will be accepted as valid highlight languages, but will not be highlighted at runtime

Default:
[]
typePrintWidth number

Width at which to wrap code to a new line when rendering a type

Default: 80
customCss string

Path to a custom CSS file to for the theme to import

Default: ""
customJs string

Path to a custom JS file to import

Default: ""
markdownItOptions

Specify the options passed to markdown-it, the Markdown parser used by TypeDoc

Default:
{
  "html": true,
  "linkify": true
}
markdownItLoader

Specify a callback to be called when loading the markdown-it instance. Will be passed the instance of the parser which TypeDoc will use

maxTypeConversionDepth number

Set the maximum depth of types to be converted

Default: 10
name string

Set the name of the project that will be used in the header of the template

Default: ""
includeVersion boolean

Add the package version to the project name

Default: false
disableSources boolean

Disable setting the source of a reflection when documenting it

Default: false
sourceLinkTemplate string

Specify a link template to be used when generating source urls. If not set, will be automatically created using the git remote. Supports {path}, {line}, {gitRevision} placeholders

Default: ""
gitRevision string

Use specified revision instead of the last revision for linking to GitHub/Bitbucket source files. Has no effect if disableSources is set

Default: ""
gitRemote string

Use the specified remote for linking to GitHub/Bitbucket source files. Has no effect if disableGit or disableSources is set

Default: "origin"
disableGit boolean

Assume that all can be linked to with the sourceLinkTemplate, sourceLinkTemplate must be set if this is enabled. {path} will be rooted at basePath

Default: false
displayBasePath string

Specifies the base path to be used when displaying file paths. If not specified, basePath is used.

Default: ""
cname string

Set the CNAME file text, it's useful for custom domains on GitHub Pages

Default: ""
favicon string

Path to favicon to include as the site icon

Default: ""
sourceLinkExternal boolean

Specifies that source links should be treated as external links to be opened in a new tab

Default: false
markdownLinkExternal boolean

Specifies that http[s]:// links in comments and markdown files should be treated as external links to be opened in a new tab

Default: true
githubPages boolean

Generate a .nojekyll file to prevent 404 errors in GitHub Pages. Defaults to true

Default: true
hostedBaseUrl string

Specify a base URL to be used in generating a sitemap.xml in our output folder and canonical links. If not specified, no sitemap will be generated

Default: ""
hideGenerator boolean

Do not print the TypeDoc link at the end of the page

Default: false
customFooterHtml string

Custom footer after the TypeDoc link

Default: ""
customFooterHtmlDisableWrapper boolean

If set, disables the wrapper element for customFooterHtml

Default: false
cacheBust boolean

Include the generation time in links to static assets

Default: false
searchInComments boolean

If set, the search index will also include comments. This will greatly increase the size of the search index

Default: false
searchInDocuments boolean

If set, the search index will also include documents. This will greatly increase the size of the search index

Default: false
cleanOutputDir boolean

If set, TypeDoc will remove the output directory before writing output

Default: true
navigationLeaves string[]

Branches of the navigation tree which should not be expanded

Default:
[]
navigation boolean | object

Determines how the navigation sidebar is organized

headings boolean | object

Determines which optional headings are rendered

sluggerConfiguration boolean | object

Determines how anchors within rendered HTML are determined.

includeHierarchySummary boolean

If set, a reflections hierarchy summary will be rendered to a summary page. Defaults to true

Default: true
visibilityFilters object

Specify the default visibility for builtin filters and additional filters according to modifier tags

Default:
{
  "protected": false,
  "private": false,
  "inherited": true,
  "external": false
}
4 nested properties
protected boolean
private boolean
inherited boolean
external boolean
searchCategoryBoosts

Configure search to give a relevance boost to selected categories

Default:
{}
searchGroupBoosts

Configure search to give a relevance boost to selected kinds (eg "class")

Default:
{}
useFirstParagraphOfCommentAsSummary boolean

If set and no @summary tag is specified, TypeDoc will use the first paragraph of comments as the short summary in the module/namespace view

Default: false
jsDocCompatibility boolean | object

Sets compatibility options for comment parsing that increase similarity with JSDoc comments

suppressCommentWarningsInDeclarationFiles boolean

Prevents warnings due to unspecified tags from being reported in comments within .d.ts files.

Default: true
commentStyle enum

Determines how TypeDoc searches for comments

Default: "jsdoc"
Values: "jsdoc" "block" "line" "triple-slash" "all"
useTsLinkResolution boolean

Use TypeScript's link resolution when determining where @link tags point. This only applies to JSDoc style comments

Default: true
preserveLinkText boolean

If set, @link tags without link text will use the text content as the link. If not set, will use the target reflection name

Default: true
blockTags string[]

Block tags which TypeDoc should recognize when parsing comments

Default:
[
  "@defaultValue",
  "@deprecated",
  "@example",
  "@jsx",
  "@param",
  "@privateRemarks",
  "@remarks",
  "@returns",
  "@see",
  "@throws",
  "@typeParam",
  "@author",
  "@callback",
  "@category",
  "@categoryDescription",
  "@default",
  "@document",
  "@extends",
  "@augments",
  "@yields",
  "@group",
  "@groupDescription",
  "@import",
  "@inheritDoc",
  "@license",
  "@module",
  "@mergeModuleWith",
  "@prop",
  "@property",
  "@return",
  "@satisfies",
  "@since",
  "@sortStrategy",
  "@template",
  "@this",
  "@type",
  "@typedef",
  "@summary",
  "@preventInline",
  "@inlineType",
  "@preventExpand",
  "@expandType"
]
inlineTags string[]

Inline tags which TypeDoc should recognize when parsing comments

Default:
[
  "@link",
  "@inheritDoc",
  "@label",
  "@linkcode",
  "@linkplain",
  "@include",
  "@includeCode"
]
modifierTags string[]

Modifier tags which TypeDoc should recognize when parsing comments

Default:
[
  "@alpha",
  "@beta",
  "@eventProperty",
  "@experimental",
  "@internal",
  "@override",
  "@packageDocumentation",
  "@public",
  "@readonly",
  "@sealed",
  "@virtual",
  "@abstract",
  "@class",
  "@disableGroups",
  "@enum",
  "@event",
  "@expand",
  "@hidden",
  "@hideCategories",
  "@hideconstructor",
  "@hideGroups",
  "@ignore",
  "@inline",
  "@interface",
  "@namespace",
  "@function",
  "@overload",
  "@private",
  "@protected",
  "@showCategories",
  "@showGroups",
  "@useDeclaredType",
  "@primaryExport"
]
excludeTags string[]

Remove the listed block/modifier tags from doc comments

Default:
[
  "@override",
  "@virtual",
  "@privateRemarks",
  "@satisfies",
  "@overload",
  "@inline",
  "@inlineType"
]
notRenderedTags string[]

Tags which will be preserved in doc comments, but not rendered when creating output

Default:
[
  "@showCategories",
  "@showGroups",
  "@hideCategories",
  "@hideGroups",
  "@disableGroups",
  "@expand",
  "@preventExpand",
  "@expandType",
  "@summary",
  "@group",
  "@groupDescription",
  "@category",
  "@categoryDescription"
]
cascadedModifierTags string[]

Modifier tags which should be copied to all children of the parent reflection

Default:
[
  "@alpha",
  "@beta",
  "@experimental"
]
preservedTypeAnnotationTags string[]

Block tags whose type annotations should be preserved in the output.

Default:
[]
categorizeByGroup boolean

Specify whether categorization will be done at the group level

Default: false
groupReferencesByType boolean

If set, references will be grouped with the type they refer to rather than in a 'References' group

Default: false
defaultCategory string

Specify the default category for reflections without a category

Default: "Other"
categoryOrder string[]

Specify the order in which categories appear. * indicates the relative order for categories not in the list

Default:
[]
groupOrder string[]

Specify the order in which groups appear. * indicates the relative order for groups not in the list

Default:
[]
sort enum[]

Specify the sort strategy for documented values

Default:
[
  "kind",
  "instance-first",
  "alphabetical-ignoring-documents"
]
sortEntryPoints boolean

If set, entry points will be subject to the same sorting rules as other reflections

Default: true
kindSortOrder string[]

Specify the sort order for reflections when 'kind' is specified

Default:
[]
watch boolean

Watch files for changes and rebuild docs on change

Default: false
preserveWatchOutput boolean

If set, TypeDoc will not clear the screen between compilation runs

Default: false
skipErrorChecking boolean

Do not run TypeScript's type checking before generating docs

Default: false
showConfig boolean

Print the resolved configuration and exit

Default: false
plugin string[]

Specify the npm plugins that should be loaded. Omit to load all installed plugins

Default:
[]
logLevel enum

Specify what level of logging should be used

Default: "Info"
Values: "Verbose" "Info" "Warn" "Error" "None"
treatWarningsAsErrors boolean

If set, all warnings will be treated as errors

Default: false
treatValidationWarningsAsErrors boolean

If set, warnings emitted during validation will be treated as errors. This option cannot be used to disable treatWarningsAsErrors for validation warnings

Default: false
intentionallyNotExported string[]

A list of types which should not produce 'referenced but not documented' warnings

Default:
[]
requiredToBeDocumented string[]

A list of reflection kinds that must be documented

Default:
[
  "Enum",
  "EnumMember",
  "Variable",
  "Function",
  "Class",
  "Interface",
  "Property",
  "Method",
  "Accessor",
  "TypeAlias"
]
packagesRequiringDocumentation string[]

A list of packages that must be documented

Default:
[]
intentionallyNotDocumented string[]

A list of full reflection names which should not produce warnings about not being documented

Default:
[]
validation boolean | object

Specify which validation steps TypeDoc should perform on your generated documentation

extends string[]