typedoc-plugin-sphinx
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

typedoc-plugin-markdown

A plugin for TypeDoc that renders TypeScript API documentation as Sphinx.

npm Build Status

What it does?

The plugin replaces the default HTML theme with a built-in Sphinx theme and exposes some additional options.

Useful if documentation is required to be included in project README files, Wikis and static site generators.

Installation

npm install --save-dev typedoc typedoc-plugin-markdown

Usage

Usage is the same as documented at TypeDoc.

typedoc --plugin typedoc-plugin-markdown --out docs src/index.ts

The plugin switches the default html theme to the in-built markdown theme as default. If using with the default html theme, use --plugin none to switch the plugin off.

Options

The following options can be used in addition to relevant TypeDoc options (please note that TypeDoc options specific to the html theme will be ignored).

  • --entryDocument<string>
    The file name of the entry document. Defaults to README.md.
  • --hideBreadcrumbs<boolean>
    Do not render breadcrumbs in template header. Defaults to false.
  • --hideInPageTOC<boolean>
    Do not render in-page table of contents items. Defaults to false.
  • --hideMembersSymbol<boolean>
    Do not add special symbols for class members. Defaults to false.
  • --publicPath<string>
    Specify the base path for all urls. If undefined urls will be relative. Defaults to ..
  • --namedAnchors<boolean>
    Use HTML named anchors tags for implementations that do not assign header ids. Defaults to false.
  • --preserveAnchorCasing<boolean>
    Preserve anchor id casing for implementations where original case is desirable. Defaults to false.

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    0

Package Sidebar

Install

npm i typedoc-plugin-sphinx

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

98.1 kB

Total Files

86

Last publish

Collaborators

  • acceleratxr