@eluvio/elv-docdash

0.0.3 • Public • Published

elv-docdash

This is a modified version of the Docdash JSDoc theme by Clement Moron. See CHANGELOG.md for a list of customizations.

Install

$ npm install --save-dev @eluvio/elv-docdash

Usage (npm)

In your projects package.json file add a new script:

"script": {
  "generate-docs": "node_modules/.bin/jsdoc -c .jsdoc.json"
}

In your .jsdoc.json file, add an /opts/template option and a /docdash section:

Sample .jsdoc.json

{
  "tags": {
    "allowUnknownTags": true,
    "dictionaries": ["jsdoc"]
  },
  "source": {
    "include": ["src"],
    "includePattern": ".js$",
    "excludePattern": "(node_modules/|docs)"
  },
  "plugins": [
    "plugins/markdown"
  ],
  "opts": {
    "destination": "./docs/",
    "encoding": "utf8",
    "pedantic": true,
    "private": false,
    "recurse": true,
    "template": "node_modules/@eluvio/elv-docdash"
  },
  "docdash": {
    "static": true,
    "sort": true,
    "search": true,
    "collapse": true,
    "typedefs": true,
    "removeQuotes": "none",
    "scripts": [],
    "menu":{
      "Github repo": {
        "href":"HTTPS_LINK_TO_YOUR_GITHUB_REPO",
        "target":"_blank",
        "class":"menu-item",
        "id":"repository"
      }
    }
  }
}

License

Licensed under the Apache License, version 2.0. (see Apache-2.0).

Package Sidebar

Install

npm i @eluvio/elv-docdash

Weekly Downloads

2

Version

0.0.3

License

Apache 2.0

Unpacked Size

1.36 MB

Total Files

68

Last publish

Collaborators

  • elv-zenia
  • elv-michael
  • elv-peter
  • john.heaton
  • elv-kevin