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
|
var langs = [
{title: 'English', path: '/home'},
{title: '中文', path: '/zh/'},
]
self.$config = {
landing: true,
repo: 'tboox/xmake',
twitter: 'waruqi',
url: 'http://xmake.io',
'edit-link': 'https://github.com/tboox/xmake/blob/master/docs',
nav: {
default: [
{
title: 'Home', path: '/home'
},
{
title: 'Plugins', path: '/plugins'
},
{
title: 'Manual', path: '/manual'
},
{
title: 'Articles', path: 'http://www.tboox.org/category/#xmake'
},
{
title: 'Feedback', path: 'https://github.com/tboox/xmake/issues'
},
{
title: 'Community', path: 'http://www.tboox.org/forum'
},
{
title: 'English', type: 'dropdown', items: langs, exact: true
}
],
'zh': [
{
title: '首页', path: '/zh/'
},
{
title: '插件', path: '/zh/plugins'
},
{
title: '手册', path: '/zh/manual'
},
{
title: '文章', path: 'http://www.tboox.org/cn/category/#xmake'
},
{
title: '反馈', path: 'https://github.com/tboox/xmake/issues'
},
{
title: '社区', path: 'http://www.tboox.org/forum'
},
{
title: '中文', type: 'dropdown', items: langs, exact: true
}
]
},
plugins: [
docsearch({
apiKey: 'fbba61eefc60a833d8caf1fa72bd8ef8',
indexName: 'xmake',
tags: ['en', 'zh']
})
]
}
|