typedoc-plugin-coverage

3.1.0 • Public • Published

typedoc-plugin-coverage

A plugin for TypeDoc to generate a documentation coverage badge.

This plugin will write a coverage.svg badge to your output directory when generating HTML documentation that includes the percentage of your API surface which is documented. It will respect TypeDoc's requiredToBeDocumented option, and only report missing documentation if reflections covered by that option are undocumented.

Options

  • coverageLabel - Define the label for the coverage badge. Defaults to 'document'.
  • coverageColor - Define the define the color of the coverage badge background. Defaults to a dynamic color depending on coverage percentage.
  • coverageOutputPath - Defines the path where the coverage badge will be written, defaults to <output directory>/coverage.svg.

Default colors/icon sourced from esdoc-coverage-plugin

Readme

Keywords

Package Sidebar

Install

npm i typedoc-plugin-coverage

Weekly Downloads

7,070

Version

3.1.0

License

MIT

Unpacked Size

8.55 kB

Total Files

4

Last publish

Collaborators

  • gerrit0