forked from youzan/vant-weapp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdoc.config.js
More file actions
69 lines (66 loc) · 1.38 KB
/
doc.config.js
File metadata and controls
69 lines (66 loc) · 1.38 KB
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
/* eslint-disable */
import packageJson from '../../package.json';
import components from '../../example/config';
const { version } = packageJson;
export const github = 'https://github.com/youzan/vant-weapp';
export const versions = [version, '0.x'];
export default {
header: {
logo: {
image: 'https://img.yzcdn.cn/vant/logo.png',
title: 'Vant Weapp',
href: '#/'
},
nav: {
logoLink: [
{
image: 'https://img.yzcdn.cn/vant/vant-o.svg',
url: '/vant'
},
{
image: 'https://img.yzcdn.cn/vant/logo/github.svg',
url: github
}
]
}
},
nav: [
{
name: '开发指南',
groups: [
{
list: [
{
path: '/intro',
title: '介绍',
md: true
},
{
path: '/quickstart',
title: '快速上手',
md: true
},
{
path: '/changelog',
title: '更新日志',
md: true
},
{
path: '/common',
title: '内置样式'
},
{
path: '/theme',
title: '定制主题',
md: true
}
]
}
]
},
{
name: '组件',
groups: components
}
]
};