@rambler-tech/typedoc-config

0.3.1 • Public • Published

Shared TypeDoc config

Install

npm install -D typedoc @rambler-tech/typedoc-config

or

yarn add -D typedoc @rambler-tech/typedoc-config

Usage

Create a typedoc.json and extend this config

{
  "extends": "@rambler-tech/typedoc-config"
}

Custom fields

This config supports custom fields from typedoc-plugin-extras plugin.

{
  "extends": "@rambler-tech/typedoc-config",
  "customTitle": "Package name",
  "customDescription": "Yet another package"
}

Additional pages

This config supports additional pages with @knodes/typedoc-plugin-pages plugin.

Create markdown files into your repository (by default in the docs directory):

docs/
  getting-started.md
  getting-started/
    configuration.md
    other.md
  index.json

Configure your pages tree in the index.json configuration. Example:

[
  {
    "name": "Getting started",
    "source": "getting-started.md",
    "children": [
      { "name": "Configuration", "source": "configuration.md" },
      { "name": "Another page", "source": "other.md" }
    ]
  }
]

Readme

Keywords

none

Package Sidebar

Install

npm i @rambler-tech/typedoc-config

Weekly Downloads

3

Version

0.3.1

License

MIT

Unpacked Size

7.32 kB

Total Files

6

Last publish

Collaborators

  • andrepolischuk
  • rambler-ui-bot