Optional
packageIn packages mode, the directory of the package being converted.
Adds an option declaration to the container with extra type checking to ensure that the runtime type is consistent with the declared type.
The option declaration that should be added.
Adds an option declaration to the container.
The option declaration that should be added.
Adds an option reader that will be used to read configuration values from the command line, configuration files, or other locations.
Gets a declaration by one of its names.
Gets all declared options.
Get the help message to be displayed to the user if --help
is passed.
Gets all of the TypeDoc option values defined in this option container.
Gets a value for the given option key, throwing if the option has not been declared.
Checks if the given option's value is deeply strict equal to the default.
Sets the given declared option. Throws if setting the option fails.
Optional
configPath: stringthe directory to resolve Path type values against
Optional
configPath: string
Maintains a collection of option declarations split into TypeDoc options and TypeScript options. Ensures options are of the correct type for calling code.
Option Discovery
Since plugins commonly add custom options, and TypeDoc does not permit options which have not been declared to be set, options must be read twice. The first time options are read, a noop logger is passed so that any errors are ignored. Then, after loading plugins, options are read again, this time with the logger specified by the application.
Options are read in a specific order.