0.3.1 • Published 4 months ago

@rambler-tech/typedoc-config v0.3.1

Weekly downloads
-
License
MIT
Repository
-
Last release
4 months ago

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" }
    ]
  }
]
0.3.1

4 months ago

0.3.0

7 months ago

0.2.0

7 months ago

0.1.0

7 months ago

0.0.2

8 months ago

0.0.1

8 months ago