npm.io
1.0.1 • Published 5 years ago

typedoc-plugin-cname

Licence
MIT
Version
1.0.1
Deps
0
Size
4 kB
Vulns
0
Weekly
0

CNAME file configuration for typedoc

License Coverage Size Version

Github pages uses a CNAME file at the root of the docs directory and typedoc will remove the it when regenerating docs. typedoc-plugin-cname allows for a CNAME host to be configured and added to the output directory.

Installation

npm install -D typedoc typedoc-plugin-cname

Usage

This plugin adds the cname option which can be used to set a hostname.

CLI
npx tsdoc --plugin typedoc-plugin-cname --cname <host> <entryPoint>
Config file
// typedoc.json
{
  // ...
  "cname": "<host>"
}

Keywords