forked from Monday-Morning/project-reclamation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.jsdoc.conf.js
79 lines (76 loc) · 2.35 KB
/
.jsdoc.conf.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
/** Documentation Template for Module */
/**
* @deprecated - If module has been deprecated
*
* @module module.path.name - To denote the module with its parents
* @description - To write the description of the module
* @summary - If needed, to summarize the description
*
* @todo - To document pending work
*
* @requires packageName - To denote required package
*
* @see module:path.name - To reference another module
* {@link url|link text} - To link another part of documentation
*
* @version 0.0.0 - To denote module version
* @since - To denote app version when the module was added
*/
/** Documentation Template for Function */
/**
* @deprecated - If module/method has been deprecated
*
* @function methodName - To denote the module with its parents
* @description - To write the description of the module
* @summary - If needed, to summarize the description
* @private - if module is local to file
* @package - if module is exported
* @async - if function is asynchronous
*
* @param {typeName} - Type of paramter required
*
* @return {typeName} - Type of return variable
*
* @this reference - To denote what this references
* @throws {exceptionTypeName} - To denote what is thrown for an error
*
* @todo - To document pending work
*
* @see module:path.name - To reference parent module
* @see {@link path|link text} - To link another part of documentation
*
* @version 0.0.0 - To denote module version
* @since - To denote app version when the module was added
*/
/** Documentation Template for Variable */
/**
* @summary - summary, if needed, for the variable
* @description - desciption, if needed, for the variable
* @const name - if variable is a const
*
* @global - if it is an environment variable
* @type {typeName} - if variable is not an object
* @default value - if default value exists
*
* @see module:path.name - if object of module
*/
/** Description for item/function/module */
module.exports = {
plugins: ['plugins/markdown'],
recursiveDepth: 20,
source: {
exclude: ['node_module', '.gitsecret', '.git', 'test', 'server/node_modules', '.env.*'],
include: ['server/.env.sample'],
includePattern: '.+\\.js$',
excludePattern: '(^|\\/|\\\\)_',
},
sourceType: 'module',
tags: {
allowUnknownTags: true,
dictionaries: ['jsdoc'],
},
templates: {
cleverLinks: false,
monospaceLinks: false,
},
};