forked from enketo/enketo-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jsdoc.config.js
77 lines (76 loc) · 2.02 KB
/
jsdoc.config.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
'use strict';
module.exports = {
opts: {
encoding: 'utf8',
destination: './docs/',
tutorials: './tutorials',
recurse: true,
/*
TODO: Providing JSDoc with package.json makes it generate
`/docs/enketo-core/[version number]/index.html` instead of simply
`/docs/index.html`. For now we will stick with providing
documentation only for latest version, but it could be nice to
expand it to multiple versions in the future.
*/
// package: 'package.json',
readme: 'README.md',
template: 'node_modules/docdash'
},
plugins: [ 'plugins/markdown' ],
source: {
include: [
'src/',
'./README.md'
]
},
templates: {
cleverLinks: true,
monospaceLinks: true,
default: {
outputSourceFiles: true,
includeDate: false,
useLongnameInNav: true
}
},
markdown: {
idInHeadings: true
},
docdash: {
static: true,
sort: true,
meta: {
title: 'Enketo Core',
description: 'Extensible Enketo form engine'
},
search: true,
collapse: false,
wrap: true,
typedefs: true,
removeQuotes: 'none',
scripts: [],
menu: {
'Github repo': {
href: 'https://github.com/enketo/enketo-core',
target: '_blank',
class: 'menu-item',
id: 'repository'
},
'Change log': {
href: 'https://github.com/enketo/enketo-core/blob/master/CHANGELOG.md',
target: '_blank',
class: 'menu-item',
id: 'change-log'
}
},
sectionOrder: [
'Tutorials',
'Classes',
'Modules',
'Externals',
'Events',
'Namespaces',
'Mixins',
'Interfaces'
]
}
};