@blackwych/typedoc-plugin-display-inner-doc-comments-theme

1.0.2 • Public • Published

@blackwych/typedoc-plugin-display-inner-doc-comments-theme

TypeDoc plugin to display doc comments specified in type arguments with the default theme

Features

In TypeDoc's default theme, a documentation of types like

type MyData = Partial<{
  /** data's name */
  name: string,
}>;

doesn't contain the doc comment for name ("data's name") used in the type arguments.
This plugin enables the default theme to display these inner doc comments traversing definitions of the type arguments.

Installation

npm install -D @blackwych/typedoc-plugin-display-inner-doc-comments-theme

Usage

TypeDoc will automatically detect and enable this plugin.

To use this theme, configure theme option as a command-line option

typedoc [any options and arguments] --theme display-inner-doc-comments

or in your typedoc.js[on]

{
  "theme": "display-inner-doc-comments"
}

/@blackwych/typedoc-plugin-display-inner-doc-comments-theme/

    Package Sidebar

    Install

    npm i @blackwych/typedoc-plugin-display-inner-doc-comments-theme

    Weekly Downloads

    3

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    17 kB

    Total Files

    11

    Last publish

    Collaborators

    • blackwych