Package Options Note
This page only applies when running with entryPointStrategy
set to "packages"
.
When running with entryPointStrategy set to "packages"
.
TypeDoc will effectively be run within each entry point directory, and the
results merged together.
When running in each directory, TypeDoc does not copy options from the root
configuration object. This means that any options used during conversion need to
be set within each project, while options used during rendering need to be set
at the root level. The following tables indicate where an option should be set.
Configuration Options
Option
Location
Notes
options
Both
TypeDoc will read option files when converting each directory and when looking for configuration initially
tsconfig
Both
TypeDoc will read option files when converting each directory and when looking for configuration initially
compilerOptions
Package
In packages mode the TS compiler isn't invoked at the root level
plugin
Root
Plugins will only be loaded from the root configuration
Option
Location
Notes
entryPoints
Both
Root: project directories to convert, Package: source code to convert
entryPointStrategy
Both
Root: "packages"
, Package: anything but "packages"
packageOptions
Root
Options to be applied to each package
alwaysCreateEntryPointModule
Both
Likely only useful in packages as there will generally be more than one package
projectDocuments
Both
Root: Docs at the root level, Package: Docs at the package level
exclude
Both
Root: Packages to exclude, Package: Entry points and exports to exclude.
externalPattern
Package
excludeExternals
Both
Root: If the "Externals" filter should be shown in HTML rendering, Package: Exclude items when converting
excludeNotDocumented
Package
excludeNotDocumentedKinds
Package
excludeInternal
Package
excludePrivate
Package
excludeProtected
Package
excludeReferences
Package
excludeCategories
Package
maxTypeConversionDepth
Package
name
Both
Root: Site name, Package: Package name
includeVersion
Both
Root: Repo version, Package: Package version
disableSources
Package
Rendering will always write sources if present, they must be disabled when converting
sourceLinkTemplate
Package
Source links are set when converting packages
gitRevision
Package
gitRemote
Package
disableGit
Package
readme
Both
Root: Site readme, Package: Package readme
basePath
Both
Root: Site readme, documents, Package: Package readme, documentation comments, documents
Output Options
Organization Options
Validation Options
Other Options