-
Notifications
You must be signed in to change notification settings - Fork 63
/
.umirc.js
47 lines (47 loc) · 1.09 KB
/
.umirc.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
export default {
base: '/',
publicPath: '/',
outputPath: 'docs-dist',
title: 'Uni API',
logo: 'https://img.alicdn.com/imgextra/i3/O1CN01lt5FH71VubB3j3Okd_!!6000000002713-2-tps-412-412.png',
favicon: 'https://img.alicdn.com/imgextra/i3/O1CN01lt5FH71VubB3j3Okd_!!6000000002713-2-tps-412-412.png',
locales: [
['zh-CN', '中文'],
['en-US', 'English']
],
mode: 'site',
resolve: {
includes: ['./docs']
},
navs: {
'zh-CN': [{
title: 'API',
path: '/packages'
}, {
title: 'Rax',
path: 'http://rax.alibaba-inc.com/'
}, {
title: 'GitHub',
path: 'https://github.com/raxjs/universal-api'
}],
'en-US': [{
title: 'API',
path: '/en-US/packages'
}, {
title: 'Rax',
path: 'http://rax.alibaba-inc.com/'
}, {
title: 'GitHub',
path: 'https://github.com/raxjs/universal-api'
}]
},
theme: {
'@c-primary': '#17BD88',
'@c-heading': '#454d64',
'@c-text': '#454d64',
'@c-secondary': '#717484',
'@c-link': '@c-primary',
'@c-border': '#ebedf1',
'@c-light-bg': '#f9fafb',
}
};