typedoc-plugin-external-module-name

  • Version 4.0.6
  • Published
  • 53.6 kB
  • 2 dependencies
  • MIT license

Install

npm i typedoc-plugin-external-module-name
yarn add typedoc-plugin-external-module-name
pnpm add typedoc-plugin-external-module-name

Overview

Specify the Typedoc Module of a file using @module annotation

Index

Classes

class ExternalModuleNamePlugin

@Component({ name: 'external-module-name' })
export class ExternalModuleNamePlugin extends ConverterComponent {}
  • This plugin allows an ES6 module to specify its TypeDoc name. It also allows multiple ES6 modules to be merged together into a single TypeDoc module.

    At the top of an ES6 module, add a "dynamic module comment". Insert "@module typedocModuleName" to specify that this ES6 module should be merged with module: "typedocModuleName".

    Similar to the [[DynamicModulePlugin]], ensure that there is a comment tag (even blank) for the first symbol in the file.

    Example 1

    /**
    * @module newModuleName
    */
    /** for typedoc /
    import {foo} from "../foo";
    export let bar = "bar";

    Also similar to [[DynamicModulePlugin]], if is found in a dynamic module comment, the comment will be used as the module comment, and documentation will be generated from it (note: this plugin does not attempt to count lengths of merged module comments in order to guess the best one)

method initialize

initialize: () => void;

    Package Files (1)

    Dependencies (2)

    Dev Dependencies (10)

    Peer Dependencies (1)

    Badge

    To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

    You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/typedoc-plugin-external-module-name.

    • Markdown
      [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/typedoc-plugin-external-module-name)
    • HTML
      <a href="https://www.jsdocs.io/package/typedoc-plugin-external-module-name"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>