-
Notifications
You must be signed in to change notification settings - Fork 23
/
typedoc.js
49 lines (47 loc) · 1.88 KB
/
typedoc.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
import { OptionDefaults } from 'typedoc';
/** @type {Partial<import('typedoc').TypeDocOptions>} */
const config = {
// prettier-ignore
projectDocuments: [
'special-pages/pages/new-tab/app/new-tab.md',
'injected/docs/*.md',
],
entryPoints: [
'injected/entry-points/android.js',
'injected/entry-points/apple.js',
'injected/entry-points/chrome.js',
'injected/entry-points/chrome-mv3.js',
'injected/entry-points/mozilla.js',
'injected/entry-points/windows.js',
'injected/src/types/*.ts',
'injected/src/features/api-manipulation.js',
'injected/src/features/duck-player.js',
'injected/src/features/duckplayer/thumbnails.js',
'injected/src/features/duckplayer/video-overlay.js',
'injected/src/features/harmful-apis.js',
'messaging',
'messaging/schema.js',
'messaging/native.js',
'special-pages',
'special-pages/pages/example/src/js/index.js',
'special-pages/pages/duckplayer/src/js/index.js',
'special-pages/pages/onboarding/src/js/index.js',
'special-pages/pages/onboarding/app/types.js',
'special-pages/pages/release-notes/src/js/index.js',
'special-pages/pages/release-notes/app/types.js',
'special-pages/pages/special-error/src/js/index.js',
'special-pages/pages/special-error/app/types.js',
'special-pages/pages/new-tab/app/favorites/constants.js',
'special-pages/types/*',
],
categoryOrder: ['Special Pages', 'Content Scope Scripts Integrations', 'Other'],
out: 'docs',
excludeExternals: true,
excludeInternal: true,
readme: 'none',
treatWarningsAsErrors: true,
searchInComments: true,
modifierTags: [...OptionDefaults.modifierTags, '@implements'],
highlightLanguages: [...OptionDefaults.highlightLanguages, 'mermaid'],
};
export default config;