Typedoc is a documentation generator for TypeScript projects.
Refer to typedoc.json for build configuration.
npm installnpm run api
TypeDoc will leverage the typings file to generate docs. The output will be located in /dist/api/api.json.
Currently not possible, submitted a feature request: TypeStrong/typedoc#337
When typedoc is invoked tsconfig and typings file must be in the path.
You can either ignore them from the output file, or use the @hidden tag in the source code to omit a method or
property from being generated as docs. The recommended approach is to ignore them since adding the hidden tag will
create a lot of noise
Yes, check the decorators key-value on the json file for that particular component.
Yes, if we were to invoke ./node_modules/.bin/typedoc --options ./src/lib/typedoc.json --ignoreCompilerErrors ./src/lib/button
We could theoretically generate a json file just for button, but we would ignore compiler errors because button does
not have a tsconfig or typings file local to its implementation.