esdoc-brand-plugin

A brand plugin for ESDoc

MIT 9 个版本
安装
npm install esdoc-brand-plugin
yarn add esdoc-brand-plugin
pnpm add esdoc-brand-plugin
bun add esdoc-brand-plugin
README

ESDoc Brand Plugin

Install

npm install esdoc-brand-plugin

Config

This plugin takes a title and a repository from package.json (name, repsitory).

{
  "source": "./src",
  "destination": "./doc",
  "package.json": "./package.json",
  "plugins": [
    {
      "name": "esdoc-brand-plugin",
      "option": {
        "logo": "./logo.png",
        "title": "My Library",
        "description": "this is awesome library",
        "repository": "https://github.com/foo/bar",
        "site": "http://my-library.org",
        "author": "https://twitter.com/foo",
        "image": "http://my-library.org/logo.png"
      }
    }
  ]
}
  • logo default is null
  • title default is name of package.json
  • description default is description of package.json
  • repository default is repository of package.json
  • site default is homepage of package.json
  • author default is author of package.json
  • image default is null. support an aspect ratio of 1:1

LICENSE

MIT

Author

Ryo Maruyama@h13i32maru

版本列表
1.0.1 2018-04-30
1.0.0 2017-07-30
0.0.7 2017-06-24
0.0.6 2017-05-14
0.0.5 2017-05-14
0.0.4 2017-04-24
0.0.3 2017-04-23
0.0.2 2017-03-08
0.0.1 2017-03-08