jsdoc-ignore-code

1.0.1 • Public • Published

jsdoc-ignore-code

jsdoc3 license

Ignore part of code which can fail your

For example, using import() – dynamically importing ES modules will fail your process of documentation creation

Installing

npm install --save jsdoc-ignore-code
# or using yarn cli 
yarn add jsdoc-ignore-code

Usage

Add plugin to jsdoc conf.json http://usejsdoc.org/about-configuring-jsdoc.html

{
    "plugins": ["./node_modules/jsdoc-ignore-code/index"]
}

Customize

add options to jsdoc conf.json

{
    "plugins": ["./node_modules/jsdoc-ignore-code/index"],
    "ignoreCode": {
        "some-options": true,
        "another-options": false
    }
}

Options

We just have only one parameter, for which this module was created

In the future, we hope to develop it adding new opportunities.
Or maybe one of you will want to add your solutions to ignore some parts of the code

dynamicImports

type boolean
default true
Ignore dynamically importing ES modules import()

Tests

Sorry but here no tests yet.

To Do

write tests and more examples

Contributing

You're welcome - issues and pulls

Package Sidebar

Install

npm i jsdoc-ignore-code

Weekly Downloads

21

Version

1.0.1

License

MIT

Last publish

Collaborators

  • dutchenkooleg