generated from docgeni/docgeni-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.docgenirc.js
58 lines (58 loc) · 1.3 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
/**
* @type {import('@docgeni/template').DocgeniConfig}
*/
module.exports = {
mode: 'full',
title: 'ALib',
logoUrl: 'https://cdn.worktile.com/open-sources/docgeni/logos/docgeni.png',
docsDir: 'docs',
repoUrl: 'https://github.com/docgeni/docgeni-template',
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: '',
categories: [
{
id: 'general',
title: 'General',
locales: {
'zh-cn': {
title: '通用'
}
}
}
]
}
],
defaultLocale: 'en-us',
locales: [
{
key: 'en-us',
name: 'EN'
},
{
key: 'zh-cn',
name: '中文'
}
]
};