-
Notifications
You must be signed in to change notification settings - Fork 2
/
typedoc.config.cjs
33 lines (33 loc) · 1.19 KB
/
typedoc.config.cjs
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
/** @type {import('typedoc').TypeDocOptions & import('typedoc-plugin-markdown').PluginOptions} */
module.exports = {
entryPoints: ['./packages/core/src/index.ts'],
out: 'docs/src',
plugin: ['typedoc-plugin-markdown', './docs/.vitepress/theme/typedoc-theme.js'],
theme: 'themeExpand',
hideBreadcrumbs: true,
parametersFormat: 'table',
typeDeclarationFormat: 'table',
textContentMappings: {
'label.returns': '返回值类型',
'label.name': '名称',
'label.source': '查看源码',
'label.extends': '继承',
'label.implements': '实现',
'label.type': '类型',
'label.description': '描述',
'kind.typeAlias.plural': '类型别名',
'kind.typeAlias.singular': '类型别名',
'kind.class.plural': '类',
'kind.class.singular': '类',
'kind.interface.plural': '接口',
'kind.interface.singular': '接口',
'kind.module.plural': '模块',
'kind.typeParameter.plural': '类型参数',
'kind.typeParameter.singular': '类型参数',
'label.defaultValue': '默认值',
'kind.function.plural': '函数',
'kind.function.singular': '函数',
'kind.parameter.singular': '参数名',
'kind.parameter.plural': '参数'
}
}