typedoc-plugin-module-wide-comments
v1.0.3
Published
Typedoc plugin which allows to write module-wide comments without explicitly defined @packageDocumentation tag
Downloads
5
Maintainers
Readme
typedoc-plugin-module-wide-comments
Plugin
A plugin for TypeDoc
This plugin allows you to add module comments without the need to use @packageDocumentation tag.
Installation
npm install typedoc-plugin-module-wide-comments
Usage
Specify the comment at the top of your module
/**
* Here's alert module description.
*
*/
import { FunctionComponent } from 'react'
import { store } from '../store'
/**
* Dispatches an alert action.
*/
const alert = (value, { showCloseLink, alertType }) => {
...
}
export default alert
And this comment
Here's alert module description.
will be displayed at the top of generated TypeDoc module page.