-
-
Notifications
You must be signed in to change notification settings - Fork 399
/
schema.json
373 lines (373 loc) · 9.96 KB
/
schema.json
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
{
"$id": "http://compodoc.app/schema",
"type": "object",
"definitions": {},
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"config": {
"$id": "/properties/config",
"type": "string",
"title": "A configuration file : .compodocrc, .compodocrc.json, .compodocrc.yaml or compodoc property in package.json",
"default": "",
"examples": [
".compodocrc"
]
},
"tsconfig": {
"$id": "/properties/tsconfig",
"type": "string",
"title": "A tsconfig.json file",
"default": "",
"examples": [
""
]
},
"output": {
"$id": "/properties/output",
"type": "string",
"title": "Where to store the generated documentation",
"default": "documentation",
"examples": [
""
]
},
"extTheme": {
"$id": "/properties/extTheme",
"type": "string",
"title": "External styling theme file",
"default": "",
"examples": [
""
]
},
"name": {
"$id": "/properties/name",
"type": "string",
"title": "Title documentation",
"default": "Application documentation",
"examples": [
""
]
},
"theme": {
"$id": "/properties/theme",
"type": "string",
"title": "Choose one of available themes, default is 'gitbook' (laravel, original, material, postmark, readthedocs, stripe, vagrant)",
"default": "gitbook",
"examples": [
""
]
},
"language": {
"$id": "/properties/language",
"type": "string",
"title": "Language used for the generated documentation (en-US, fr-FR, zh-CN)",
"default": "en-US",
"examples": [
""
]
},
"assetsFolder": {
"$id": "/properties/assetsFolder",
"type": "string",
"title": "External assets folder to copy in generated documentation folder",
"default": "",
"examples": [
""
]
},
"open": {
"$id": "/properties/open",
"type": "boolean",
"title": "Open the generated documentation",
"default": false,
"examples": [
false
]
},
"silent": {
"$id": "/properties/silent",
"type": "boolean",
"title": "In silent mode, log messages aren't logged in the console",
"default": false,
"examples": [
false
]
},
"serve": {
"$id": "/properties/serve",
"type": "boolean",
"title": "Serve generated documentation (default http://localhost:8080/)",
"default": false,
"examples": [
true
]
},
"port": {
"$id": "/properties/port",
"type": "integer",
"title": "Change default serving port",
"default": 0,
"examples": [
8080
]
},
"watch": {
"$id": "/properties/watch",
"type": "boolean",
"title": "Watch source files after serve and force documentation rebuild",
"default": false,
"examples": [
false
]
},
"exportFormat": {
"$id": "/properties/exportFormat",
"type": "string",
"title": "Export in specified format (json, html)",
"default": "",
"examples": [
"html"
]
},
"hideGenerator": {
"$id": "/properties/hideGenerator",
"type": "boolean",
"title": "Do not print the Compodoc link at the bottom of the page",
"default": false,
"examples": [
false
]
},
"toggleMenuItems": {
"$id": "/properties/toggleMenuItems",
"type": "array",
"items": {
"$id": "/properties/toggleMenuItems/items",
"type": "string",
"title": "Close by default items in the menu values : ['all'] or one of these ['modules','components','directives','classes','injectables','interfaces','pipes','additionalPages']",
"default": "",
"examples": [
"all"
]
}
},
"navTabConfig": {
"$id": "/properties/navTabConfig",
"type": "array",
"items": {
"$id": "/properties/navTabConfig/items",
"type": "object",
"properties": {
"id": {
"$id": "/properties/navTabConfig/items/properties/id",
"type": "string",
"title": "The Id Schema ",
"default": "",
"examples": [
""
]
},
"label": {
"$id": "/properties/navTabConfig/items/properties/label",
"type": "string",
"title": "The Label Schema ",
"default": "",
"examples": [
""
]
}
}
}
},
"includes": {
"$id": "/properties/includes",
"type": "string",
"title": "Path of external markdown files to include",
"default": "",
"examples": [
""
]
},
"includesName": {
"$id": "/properties/includesName",
"type": "string",
"title": "Name of item menu of externals markdown files",
"default": "",
"examples": [
""
]
},
"coverageTest": {
"$id": "/properties/coverageTest",
"type": "integer",
"title": "Test command of documentation coverage with a threshold (default 70)",
"default": 70,
"examples": [
70
]
},
"coverageMinimumPerFile": {
"$id": "/properties/coverageMinimumPerFile",
"type": "integer",
"title": "Test command of documentation coverage per file with a minimum (default 0)",
"default": 0,
"examples": [
0
]
},
"coverageTestThresholdFail": {
"$id": "/properties/coverageTestThresholdFail",
"type": "boolean",
"title": "Test command of documentation coverage (global or per file) will fail with error or just warn user (true: error, false: warn)",
"default": false,
"examples": [
true
]
},
"disableSourceCode": {
"$id": "/properties/disableSourceCode",
"type": "boolean",
"title": "Do not add source code tab and links to source code",
"default": false,
"examples": [
false
]
},
"disableDomTree": {
"$id": "/properties/disableDomTree",
"type": "boolean",
"title": "Do not add dom tree tab",
"default": false,
"examples": [
false
]
},
"disableTemplateTab": {
"$id": "/properties/disableTemplateTab",
"type": "boolean",
"title": "Do not add template tab",
"default": false,
"examples": [
false
]
},
"disableGraph": {
"$id": "/properties/disableGraph",
"type": "boolean",
"title": "Do not add the dependency graph",
"default": false,
"examples": [
false
]
},
"disableCoverage": {
"$id": "/properties/disableCoverage",
"type": "boolean",
"title": "Do not add the documentation coverage report",
"default": false,
"examples": [
false
]
},
"disablePrivate": {
"$id": "/properties/disablePrivate",
"type": "boolean",
"title": "Do not show private in generated documentation",
"default": false,
"examples": [
false
]
},
"disableProtected": {
"$id": "/properties/disableProtected",
"type": "boolean",
"title": "Do not show protected in generated documentation",
"default": false,
"examples": [
false
]
},
"disableInternal": {
"$id": "/properties/disableInternal",
"type": "boolean",
"title": "Do not show @internal in generated documentation",
"default": false,
"examples": [
false
]
},
"disableLifeCycleHooks": {
"$id": "/properties/disableLifeCycleHooks",
"type": "boolean",
"title": "Do not show Angular lifecycle hooks in generated documentation",
"default": false,
"examples": [
false
]
},
"disableRoutesGraph": {
"$id": "/properties/disableRoutesGraph",
"type": "boolean",
"title": "Do not add the routes graph",
"default": false,
"examples": [
false
]
},
"disableSearch": {
"$id": "/properties/disableSearch",
"type": "boolean",
"title": "Do not add the search input",
"default": false,
"examples": [
false
]
},
"minimal": {
"$id": "/properties/minimal",
"type": "boolean",
"title": "Minimal mode with only documentation. No search, no graph, no coverage.",
"default": false,
"examples": [
false
]
},
"customFavicon": {
"$id": "/properties/customFavicon",
"type": "string",
"title": "Use a custom favicon",
"default": "",
"examples": [
""
]
},
"customLogo": {
"$id": "/properties/customLogo",
"type": "string",
"title": "Use a custom logo",
"default": "",
"examples": [
""
]
},
"gaID": {
"$id": "/properties/gaID",
"type": "string",
"title": "Google Analytics tracking ID",
"default": "",
"examples": [
""
]
},
"gaSite": {
"$id": "/properties/gaSite",
"type": "string",
"title": "Google Analytics site name",
"default": "",
"examples": [
""
]
}
}
}