generated from Salmon42/ts-lib-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypedoc.config.cjs
68 lines (58 loc) · 1.42 KB
/
typedoc.config.cjs
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
//
// TypeDoc configuration file
// https://typedoc.org/schema.json
//
/** @type {import('typedoc').TypeDocOptions} */
module.exports = {
name: 'TypeScript Data Objects',
entryPoints: [
'lib/main.ts',
'lib/types.ts',
],
includeVersion: true,
readme: 'tmp/doc-readme.md',
cacheBust: true,
navigationLinks: {
'GitHub': 'https://github.com/Salmon42/ts-data-objects',
},
plugin: [
'typedoc-plugin-coverage', // https://www.npmjs.com/package/typedoc-plugin-coverage
'typedoc-plugin-particles', // https://www.npmjs.com/package/typedoc-plugin-particles
'typedoc-plugin-mdn-links', // https://www.npmjs.com/package/typedoc-plugin-mdn-links
'typedoc-plugin-inline-sources', // https://www.npmjs.com/package/typedoc-plugin-inline-sources
'typedoc-plugin-extras', // https://www.npmjs.com/package/typedoc-plugin-extras
],
// This modifies the calculation of the coverage
// https://typedoc.org/options/validation/#requiredtobedocumented
requiredToBeDocumented: [
'Project',
'Module',
'Namespace',
'Enum',
'EnumMember',
'Variable',
'Function',
'Class',
'Interface',
'Constructor',
'Property',
'Method',
'Accessor',
'TypeAlias',
],
// typedoc-plugin-coverage
coverageLabel: 'Coverage',
// typedoc-plugin-extras
footerTypedocVersion: true,
footerLastModified: true,
}
// {
// "entryPoints": [
// "lib/main.ts"
// ],
// "out": "docs",
// "plugin": [
// {
// }
// ],
// }