Advanced Example

Usage

Options

The plugin can be configured by setting options in the package.json file.

{
  "name": "my-documentation",
  "scripts": {
    "start": "docy"
  },
  "docy": {
    "title": "My Documentation"
  }
}

The following options are available:

Options

Title

title default package.name

Set the title of the documentation.

Options

Result Filename

result default index.html

Name of the resulting documentation file.

Options

Destination Folder

dist default ./dist

Folder where the generated documentation should be placed.

Custom Template

The default template can be overridden.