1.0.1 • Published 3 years ago

typedoc-plugin-cname v1.0.1

Weekly downloads
306
License
MIT
Repository
github
Last release
3 years ago

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