-
Notifications
You must be signed in to change notification settings - Fork 0
/
jsdocs.js
47 lines (46 loc) · 944 Bytes
/
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
/** ****************************************************************************************************
* File: jsdocs.js
* Project: template-npm-module
* @author Nick Soggin <[email protected]> on 30-May-2018
*******************************************************************************************************/
'use strict';
module.exports = {
plugins: [
'plugins/markdown'
],
markdown: {
idInHeadings: true
},
recurseDepth: 20,
source: {
include: [
'README.md',
'./'
],
exclude: [
'node_modules',
'test',
'docs'
],
includePattern: '.+\\.js(doc|x)?$',
excludePattern: '(^|\\/|\\\\)_'
},
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'
}
};