-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathtypedoc.config.mjs
38 lines (37 loc) · 1006 Bytes
/
typedoc.config.mjs
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
/** @type {Partial<import('typedoc').TypeDocOptions>} */
const config = {
entryPoints: ['./src/index.tsx'],
out: './docs',
tsconfig: './tsconfig.json',
excludeInternal: true,
validation: {
invalidLink: true,
notDocumented: true,
notExported: true,
},
includeVersion: true,
searchInComments: true,
searchInDocuments: true,
navigation: {
includeCategories: false,
includeGroups: false,
compactFolders: false,
excludeReferences: false,
includeFolders: false,
},
externalSymbolLinkMappings: {
// used by `class Foo extends Component {}`
'@types/react': {
'Component': 'https://react.dev/reference/react/Component',
// used if no other names match
'*': 'https://react.dev/',
},
// used by {@link react!Component}
'react': {
Component: 'https://react.dev/reference/react/Component',
},
},
readme: './README.md',
plugin: ['typedoc-plugin-coverage', 'typedoc-plugin-mermaid'],
};
export default config;