-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathjsdocs.js
50 lines (47 loc) · 1.16 KB
/
jsdocs.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/** ****************************************************************************************************
* File: jsdocs.js
* Project: template-npm-module
* @author Nick Soggin <[email protected]> on 30-May-2018
*******************************************************************************************************/
'use strict';
/**
* @global
* @alias <a href="demo/">Demo</a>
*/
module.exports = {
plugins: [
'plugins/markdown'
],
recurseDepth: 20,
source: {
include: [
'README.md',
'./'
],
exclude: [
'demo',
'docs',
'node_modules'
],
includePattern: '.+\\.js(doc|x)?$',
excludePattern: '(^|\\/|\\\\)_|(^|\\/|\\\\)node_modules'
},
sourceType: 'module',
tags: {
allowUnknownTags: true,
dictionaries: [
'jsdoc',
'closure'
]
},
templates: {
cleverLinks: true,
monospaceLinks: true
},
opts: {
encoding: 'utf8',
destination: 'docs/',
recurse: true,
template: './node_modules/postman-jsdoc-theme'
}
};