typedoc-plugin-module-wide-comments

Typedoc plugin which allows to write module-wide comments without explicitly defined @packageDocumentation tag

Usage no npm install needed!

<script type="module">
  import typedocPluginModuleWideComments from 'https://cdn.skypack.dev/typedoc-plugin-module-wide-comments';
</script>

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.