-
-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathtypedoc.config.mjs
More file actions
22 lines (20 loc) · 712 Bytes
/
typedoc.config.mjs
File metadata and controls
22 lines (20 loc) · 712 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import { createRequire } from 'node:module';
const require = createRequire(import.meta.url);
const pckg = require('./package.json');
/** @type {Partial<import("typedoc").TypeDocOptions>} */
export default {
entryPoints: ['src/index.ts'],
out: 'docs',
excludeInternal: false,
excludePrivate: false,
excludeProtected: false,
name: `Documentation for ${pckg.name} v${pckg.version}`,
categorizeByGroup: false,
defaultCategory: pckg.name,
categoryOrder: [pckg.name, 'Defaults', 'Exceptions', 'Common Types', 'Utilities'],
gitRevision: pckg.version,
plugin: ['typedoc-plugin-dt-links', 'typedoc-plugin-mdn-links', 'typedoc-plugin-merge-modules'],
validation: {
invalidLink: true,
},
};