NOTICE: This feature will be removed from the core cli and become an addon in a future update.
Document is a wrapper for type doc and is therefore dependent on TypeScript. As such it follows a similar pattern as our own Compile cmd.
It is important to note that currently this feature expects both a tsconfig.json and typedoc.json file to be present at the root of the package for TypeDoc to run.
|A proxy for the TypeDoc API with a few opinionated defaults for easier setup.|
|An alias for |
For reference on all the available options please review the official documentation for TypeDoc.
First be sure to create a tsconfig.json file at the root of the project or in other words adjacent to the package.json.
Second make sure to have a configuration file for TypeDoc like seen below.
The above configuration files are not exhaustive examples but instead represents our recommendation for getting started. Please review the official documentation for more advanced configurations.
Once configured we can create our documentation from our source using a cmd similar what you see below.