# agility-jsdoc-template

> Clean and JSDoc 3 Template / Theme forked from the minimal template

Latest version **1.0.3** (published 2019-07-16) · 0 weekly downloads

## Install

```sh
npm install agility-jsdoc-template
pnpm add agility-jsdoc-template
yarn add agility-jsdoc-template
bun add agility-jsdoc-template
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2019-07-16 |
| First published | 2019-03-12 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.5 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | James Vidler |
| Maintainers | jamesvidler, joelvarty |

## Links

- npm: https://www.npmjs.com/package/agility-jsdoc-template
- Repository: https://github.com/agility/agility-jsdoc-template
- Issues: https://github.com/agility/agility-jsdoc-template/issues
- npm.io page: https://npm.io/package/agility-jsdoc-template

## Recent versions

- 1.0.3 (latest) — 2019-07-16
- 1.0.2 — 2019-03-29
- 1.0.1 — 2019-03-12
- 1.0.0 — 2019-03-12

## README

[![Build Status](https://agility.visualstudio.com/Agility CMS/_apis/build/status/Agility%20JsDoc%20Template?branchName=master)](https://agility.visualstudio.com/Agility CMS/_build/latest?definitionId=56&branchName=master)

# Agility JsDoc Template

A clean, responsive documentation template theme for JSDoc 3. This has been customized for use with Agility.

[Live Demo](https://agilitydocs.netlify.com/agility-content-fetch-js-sdk/)


## Install

```bash
$ npm install --save-dev agility-jsdoc-template
```


## Usage

Clone repository to your designated `jsdoc` template directory, then:

```bash
$ jsdoc entry-file.js -t path/to/agility-jsdoc-template
```


### Node.js Dependency

In your projects `package.json` file add a generate script:

```json
"script": {
  "generate-docs": "node_modules/.bin/jsdoc --configure .jsdoc.json --verbose"
}
```

In your `.jsdoc.json` file, add a template option.

```json
"opts": {
  "template": "node_modules/agility-jsdoc-template"
}
```


### Example JSDoc Config

```json
{
    "source": {
        "include": ["src", "README.md", "package.json"],
        "includePattern": ".js$",
        "excludePattern": "(node_modules/|docs)"
    },
    "plugins": [
        "plugins/markdown"
    ],
    "recurse": 10,
    "templates": {
        "cleverLinks": false,
        "monospaceLinks": true,
        "useLongnameInNav": true,
        "showInheritedInNav": true
    },
    "tags": {
        "allowUnknownTags": true,
        "dictionaries": ["jsdoc"]
    },
    "source-type": "module",
    "opts": {
        "destination": "./docs/",
        "encoding": "utf8",
        "private": false,
        "recurse": true,
        "template": "./node_modules/agility-jsdoc-template"        
    }
}
```

Specifying a number for useLongnameInNav it will be the max number of path elements to show in nav (starting from Class).


## License

Licensed under the Apache2 license.

---
_Source: https://npm.io/package/agility-jsdoc-template · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
