-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.docgenirc.js
60 lines (60 loc) · 1.4 KB
/
.docgenirc.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
50
51
52
53
54
55
56
57
58
59
60
/**
* @type {import('@docgeni/core').DocgeniConfig}
*/
module.exports = {
mode: 'full',
title: 'ALib',
logoUrl: 'https://cdn.pingcode.com/open-sources/docgeni/logo.png',
docsDir: 'docs',
repoUrl: 'https://github.com/docgeni/docgeni-template',
footer: 'Open-source MIT Licensed | Copyright © 2020-present Powered by self',
navs: [
null,
{
title: 'Components',
path: 'components',
lib: 'alib',
locales: {
'zh-cn': {
title: '组件'
}
}
},
{
title: 'GitHub',
path: 'https://github.com/docgeni/docgeni-template',
isExternal: true
}
],
libs: [
{
name: 'alib',
rootDir: './src',
include: [''],
exclude: '',
apiMode: 'compatible',
categories: [
{
id: 'general',
title: 'General',
locales: {
'zh-cn': {
title: '通用'
}
}
}
]
}
],
defaultLocale: 'en-us',
locales: [
{
key: 'en-us',
name: 'EN'
},
{
key: 'zh-cn',
name: '中文'
}
]
};