-
Notifications
You must be signed in to change notification settings - Fork 1
/
typedoc.config.js
41 lines (41 loc) · 1.4 KB
/
typedoc.config.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
/** @type {import('typedoc').TypeDocOptions} */
module.exports = {
entryPoints: ['src/index.tsx'],
tsconfig: 'tsconfig.build.json',
out: 'api',
sitemapBaseUrl: 'https://theoplayer.github.io/react-native-theoplayer-ui/api/',
name: 'React Native THEOplayer UI',
readme: 'none',
plugin: ['typedoc-plugin-external-resolver', 'typedoc-plugin-mdn-links'],
navigationLinks: {
Docs: 'https://www.theoplayer.com/docs/',
'THEOplayer.com': 'https://www.theoplayer.com/',
},
githubPages: true,
excludePrivate: true,
excludeInternal: true,
excludeExternals: true,
externalDocumentation: {
theoplayer: {
dtsPath: '~/THEOplayer.d.ts',
externalBaseURL: 'https://www.theoplayer.com/docs/theoplayer/v6/api-reference/web',
},
'react-native-theoplayer': {
dtsPath: '~/lib/typescript/index.d.ts',
externalBaseURL: 'https://theoplayer.github.io/react-native-theoplayer/api',
},
},
externalSymbolLinkMappings: {
react: {
'Component': 'https://react.dev/reference/react/Component',
'PureComponent': 'https://react.dev/reference/react/PureComponent',
'*': 'https://react.dev/reference/react'
},
'react-native': {
'Platform': 'https://reactnative.dev/docs/platform',
'Text': 'https://reactnative.dev/docs/text',
'View': 'https://reactnative.dev/docs/view',
'*': 'https://reactnative.dev/docs/components-and-apis'
}
},
};