@blackwych/typedoc-plugin-categorize-by-path

1.0.3 • Public • Published

@blackwych/typedoc-plugin-categorize-by-path

TypeDoc plugin to determine modules and categories from module paths

Features

For each module:

  • If any of categoryPatterns matched to module path, the captured category will be prepended and the module name will be renamed to the captured one.
  • The first matched result will be used.
  • Nothing will be changed if no pattern matched.

Installation

npm install -D @blackwych/typedoc-plugin-categorize-by-path

Usage

TypeDoc will automatically detect and enable this plugin.

Options

Option Type Defaults Description
categoryPatterns string[] [] RegExp pattern strings that capture category and module names from module paths.
Each pattern must contain named capture groups (?<category>...) and (?<module>...).

Dependents (0)

Package Sidebar

Install

npm i @blackwych/typedoc-plugin-categorize-by-path

Weekly Downloads

3

Version

1.0.3

License

MIT

Unpacked Size

6.93 kB

Total Files

5

Last publish

Collaborators

  • blackwych