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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
|
module.exports = {
dest: 'docs',
head: [
['link', { rel: 'shortcut icon', type: "image/x-icon", href: `/favicon.ico` }],
],
locales: {
'/': {
lang: 'en-US',
title: 'xmake',
description: 'A cross-platform build utility based on Lua'
},
'/zh/': {
lang: 'zh-CN',
title: 'xmake',
description: '一个基于Lua的轻量级跨平台自动构建工具'
}
},
themeConfig: {
repo: 'tboox/xmake',
docsRepo: 'tboox/xmake-docs',
docsDir: 'src',
editLinks: true,
sidebarDepth: 2,
locales: {
'/': {
label: 'English',
selectText: 'Languages',
editLinkText: 'Edit this page on GitHub',
lastUpdated: 'Last Updated',
nav: [
{
text: 'Guide',
link: '/guide/introduction'
},
{
text: 'Plugin',
link: '/plugin/introduction'
},
{
text: 'API',
link: '/api/introduction'
},
{
text: 'Articles',
link: 'http://www.tboox.org/category/#xmake'
},
{
text: 'Feedback',
link: 'https://github.com/tboox/xmake/issues'
},
{
text: 'Community',
link: 'https://www.reddit.com/r/tboox/'
},
{
text: 'Donation',
link: 'http://tboox.org/cn/donation/'
}
],
sidebar: {
'/guide/': [
'introduction',
'getting-started',
'faq',
'sponsors'
],
'/plugin/': [
'introduction'
],
'/api/': [
'introduction'
]
}
},
'/zh/': {
label: '简体中文',
selectText: '选择语言',
editLinkText: '在 GitHub 上编辑此页',
lastUpdated: '上次更新',
nav: [
{
text: '指南',
link: '/zh/guide/introduction'
},
{
text: '插件',
link: '/zh/plugin/introduction'
},
{
text: '接口',
link: '/zh/api/introduction'
},
{
text: '文章',
link: 'http://www.tboox.org/cn/category/#xmake'
},
{
text: '反馈',
link: 'https://github.com/tboox/xmake/issues'
},
{
text: '社区',
link: 'https://www.reddit.com/r/tboox/'
},
{
text: '捐助',
link: 'http://tboox.org/cn/donation/'
}
],
sidebar: {
'/zh/guide/': [
'introduction',
'getting-started',
'faq',
'sponsors'
],
'/zh/plugin/': [
'introduction'
],
'/zh/api/': [
'introduction'
]
}
}
}
}
}
|