forked from projectestac/jclic.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jsdoc.config.js
69 lines (65 loc) · 1.42 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
const fs = require('fs-extra')
// Empty "doc" and copy "ico.png"
fs.emptyDirSync('doc')
module.exports = {
source: {
include: ['misc/jsdoc/index.md', 'src'],
includePattern: '.+\\.js$',
exclude: ['src/GlobalData.js']
},
opts: {
recurse: true,
verbose: true,
destination: 'doc',
template: 'node_modules/ink-docstrap/template',
},
tags: {
allowUnknownTags: true
},
plugins: ['plugins/markdown'],
templates: {
systemName: 'JClic.js',
applicationName: 'JClic.js',
footer: '',
copyright: '',
includeDate: false,
dateFormat: 'ddd MMM Do YYYY',
navType: 'inline',
theme: 'united',
linenums: true,
collapseSymbols: false,
inverseNav: true,
outputSourceFiles: true,
outputSourcePath: true,
default: {
outputSourceFiles: true
},
syntaxTheme: 'default',
sort: true,
search: true,
cleverLinks: true,
monospaceLinks: true,
disqus: '',
//analytics: { ua: 'UA-XXXXX-XXX', domain: 'XXXX' },
googleAnalytics: '',
highlightTutorialCode: true,
protocol: 'html://',
openGraph: {
title: '',
type: 'website',
image: '',
site_name: '',
url: ''
},
meta: {
title: '',
description: '',
keyword: ''
}
},
markdown: {
parser: 'gfm',
hardwrap: true,
tags: ['examples']
}
}