1.0.1 • Published 4 years ago

typedoc-plugin-banish v1.0.1

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

typedoc-plugin-banish

A plugin for TypeDoc which filters reflections according to their declaration location, like --exclude but better since it also catches inherited items.

This plugin adds two options:

OptionDefaultDescription
banish["**/node_modules/**"]Array of minimatch patterns to match declaration locations against. If any match, the item will not be included in the documentation.
invertBanishfalseIf set, only include declarations whose locations are matched by banish

TypeDoc automatically loads plugins, so all you need to do to use this plugin is install it. If you selectively load plugins, add it to your plugins array in typedoc.json

{
  "banish": ["**/node_modules/**", "**/src/internal.ts"],
  "invertBanish": false,
  "plugins": ["typedoc-plugin-banish"]
}