-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
124 lines (124 loc) · 3.93 KB
/
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
/**
* @file Manages the default configurations for the template.
*/
module.exports = {
/**
* All default options should be available.
* @see {@link https://jsdoc.app/about-configuring-jsdoc.html#default-configuration-options}
*/
// plugins: [],
// source: [],
// ...
templates: {
// cleverLinks: false,
// monospaceLinks: false,
default: {
includeDate: false
},
/**
* Options for this template.
* @type {!object}
*/
custom: {
/**
* The name of your site.
* @type {?string}
*/
siteName: 'JSDoc',
/**
* The url to your site.
*
* Note: If an empty string is given,
* the page heading won't be a link.
*
* @type {?string}
*/
siteURL: '/',
/** @type {!object} */
themes: {
/**
* A valid url for the prettify theme.
*
* Note: If a relative url is passed, you should add static files to
* "templates.default.staticFiles". Please, check
* {@link https://jsdoc.app/about-configuring-default-template.html#copying-static-files-to-the-output-directory}
* for details.
*
* Note 2: If you pass an empty string, the prettify script
* won't be loaded.
*
* @type {?string}
*/
prettify: 'css/tomorrow.min.css'
},
/**
* Raw tags that will be added to the document.
* Any <tag> is allowed.
*
* @typedef {string|string[]} tags
*
* @example
* [`<meta />`, `<link href="" />`]
*
* @example <caption>Non-Array values will be converted to an Array.</caption>
* `<meta />` // becomes [`<meta />`]
*/
/**
* Custom tags added after `defaultTags`.
* @type {!object}
*/
tags: {
/**
* Append tags to the head of the document.
* @type {!tags}
*/
head: [],
/**
* Prepend tags to the page header.
*
* Note: If one or more <tags> are provided, the heading that includes
* your site name will be removed.
*
* @type {!tags}
*/
header: [],
/**
* Appends tags to <body>.
* @type {!tags}
*/
body: [],
/**
* Appends tags to the page footer.
* @type {!tags}
*/
footer: []
},
/**
* Default but optional tags added before `tags`.
* @type {!object}
*/
defaultTags: {
/** @type {!tags} */
head: [
`<meta name="viewport" content="width=device-width,
initial-scale=1"/>`
],
/** @type {!tags} */
header: [],
/** @type {!tags} */
body: [],
/**
* Note: Attribution for using this template is not required,
* but it's appreciated.
* @type {!tags}
*/
footer: [
`<small style='margin-left: 1em;'>Design by <a
href='https://github.com/AlexisPuga'
target='_blank'
rel="noopener noreferrer">Alexis Puga</a>.</small>`
]
}
}
}
};