forked from enketo/enketo-transformer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jsdoc.config.js
76 lines (75 loc) · 2.07 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
'use strict';
module.exports = {
opts: {
encoding: 'utf8',
destination: './docs/',
recurse: true,
/*
TODO: Providing JSDoc with package.json makes it generate
`/docs/enketo-transformer/[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 Transformer',
description: 'Library/app that transforms ODK-compliant XForms into a format that enketo-core consumes'
},
search: true,
collapse: false,
wrap: true,
typedefs: true,
removeQuotes: 'none',
scripts: [],
menu: {
'Github repo': {
href: 'https://github.com/enketo/enketo-transformer',
target: '_blank',
class: 'menu-item',
id: 'repository'
},
'Change log': {
href: 'https://github.com/enketo/enketo-transformer/blob/master/CHANGELOG.md',
target: '_blank',
class: 'menu-item',
id: 'change-log'
}
},
sectionOrder: [
'Tutorials',
'Classes',
'Modules',
'Externals',
'Events',
'Namespaces',
'Mixins',
'Interfaces'
]
}
};