TypeDoc TypeScript API Documentation Generator
TypeDoc is the standard documentation generator for TypeScript projects. It reads TypeScript source code and JSDoc comments to produce structured HTML documentation or JSON models. It powers API reference generation for thousands of TypeScript libraries.
Installation
Use the upstream install or setup path that matches your environment:
- npm install typedoc --save-dev
Requirements and caveats from upstream:
- TypeDoc runs on Node.js and is available as a NPM package.
- requires configuration to be present in each directory to specify the entry points. For an example setup, see
Basic usage or getting-started notes:
text
To generate documentation TypeDoc needs to know your project entry point and TypeScript
compiler options. It will automatically try to find your tsconfig.json file and figure
Extracted from upstream docs: https://raw.githubusercontent.com/TypeStrong/typedoc/HEAD/README.md