-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvvdoc.config.ts
76 lines (74 loc) · 1.31 KB
/
vvdoc.config.ts
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
import { Config, BuildConfig } from 'vvdoc'
export const config: Config = {
title: 'vvModal',
logo: '/vvmodal.png',
repository: 'https://github.com/zwmmm/vvModal',
docsearch: {
appId: '',
indexName: '',
apiKey: ''
},
menus: [
{
text: '首页',
active: '^/',
path: '/'
},
{
text: 'API',
active: '^/apis',
path: '/apis/'
}
],
chapters: {
'/apis/': [
{
name: 'Apis',
children: [
{
name: 'create',
path: '/apis/'
},
{
name: 'show',
path: '/apis/show'
},
{
name: 'antdModal',
path: '/apis/antdModal'
},
{
name: 'antdDrawer',
path: '/apis/antdDrawer'
}
]
},
{
name: 'Hooks',
children: [
{
name: 'useModal',
path: '/apis/useModal'
},
{
name: 'useShow',
path: '/apis/useShow'
},
{
name: 'useHide',
path: '/apis/useHide'
}
]
}
]
},
theme: {
styles: {
colors: {}
}
}
}
/**
* 构建配置,参考vite配置文档
*/
export const buildConfig: BuildConfig = {}