-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypedoc.config.js
45 lines (45 loc) · 1.35 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
42
43
44
45
module.exports = {
$schema: 'https://typedoc.org/schema.json',
entryPoints: ['./src/index.ts'],
sort: ['source-order'],
projectDocuments: ['./README.*.md', 'LICENSE'],
navigationLinks: {
Demo: 'https://kabeep.github.io/forex/documents/demo.html',
Docs: 'https://kabeep.github.io/forex/',
GitHub: 'https://github.com/kabeep/forex',
NPM: 'https://www.npmjs.com/package/@kabeep/forex',
},
plugin: [
'typedoc-material-theme',
'typedoc-plugin-mdn-links',
'typedoc-plugin-missing-exports',
'typedoc-plugin-include-example',
'typedoc-plugin-inline-sources',
'typedoc-plugin-replace-text',
'typedoc-plugin-rename-documents',
'typedoc-plugin-version-header',
],
themeColor: '#6600EB',
renameDocuments: {
'./README.zh-CN.md': '简体中文',
},
replaceText: {
inCodeCommentText: false,
inCodeCommentTags: false,
inMarkdown: true,
replacements: [
{
pattern: 'README.md',
replace: () => {
return '../index.html';
},
},
{
pattern: 'README.zh-CN.md',
replace: () => {
return 'documents/____.html';
},
},
],
},
};