-
-
Notifications
You must be signed in to change notification settings - Fork 827
/
config.js
163 lines (163 loc) · 4.28 KB
/
config.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
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
module.exports = {
title: 'vue-chartjs documentation',
themeConfig: {
nav: [
{ text: 'Home', link: '/' },
{ text: 'Guide', link: '/guide/' },
{ text: 'API', link: '/api/' }
],
sidebar: 'auto',
repo: 'apertureless/vue-chartjs',
editLinks: true,
editLinkText: 'Help us improve this page!',
docsDir: 'docs',
docsBranch: 'master',
serviceWorker: true,
locales: {
'/': {
selectText: 'Languages',
label: 'English',
editLinkText: 'Edit this page on GitHub',
serviceWorker: {
updatePopup: {
message: "New content is available.",
buttonText: "Refresh"
}
},
},
'/zh-cn/': {
selectText: '选择语言',
label: '中文(简体)',
sidebar: 'auto',
editLinkText: '在GitHub上编辑本页',
nav: [
{
text: '指南',
link: '/zh-cn/guide/'
},
{
text: 'API 参考',
link: '/zh-cn/api/'
}
],
serviceWorker: {
updatePopup: {
message: "有新内容更新.",
buttonText: "刷新"
}
}
},
'/id/': {
selectText: 'Languages',
label: 'Bahasa Indonesia',
editLinkText: 'Edit this page on GitHub',
serviceWorker: {
updatePopup: {
message: "New content is available.",
buttonText: "Refresh"
}
},
},
'/ja/': {
selectText: 'Languages',
label: '日本語',
editLinkText: 'Edit this page on GitHub',
serviceWorker: {
updatePopup: {
message: "New content is available.",
buttonText: "Refresh"
}
},
},
'/ru/': {
selectText: 'Языки',
label: 'Русский',
editLinkText: 'Редактировать эту страницу на GitHub',
nav: [
{
text: 'Руководство',
link: '/ru/guide/'
},
{
text: 'API',
link: '/ru/api/'
}
],
serviceWorker: {
updatePopup: {
message: "Доступен новый контент.",
buttonText: "Обновить"
}
},
},
'/pt-br/': {
selectText: 'Linguas',
label: 'Português do Brasil',
editLinkText: 'Edite esta página no GitHub',
nav: [
{ text: 'Home', link: '/pt-br/' },
{ text: 'Guia', link: '/pt-br/guide/' },
{ text: 'API', link: '/pt-br/api/' }
],
serviceWorker: {
updatePopup: {
message: "Novo conteúdo está disponível.",
buttonText: "Atualizar"
}
},
},
'/fr-fr/': {
selectText: 'Languages',
label: 'Français',
editLinkText: 'Edit this page on GitHub',
serviceWorker: {
updatePopup: {
message: "New content is available.",
buttonText: "Refresh"
}
},
}
},
algolia: {
indexName: 'vue-chartjs',
apiKey: 'b3544f7387612693644777553675d56a'
}
},
locales: {
'/': {
lang: 'en-US',
title: '📈 vue-chartjs',
description: '⚡ Easy and beautiful charts with Chart.js and Vue.js'
},
'/zh-cn/': {
lang: 'zh-CN',
title: '📈 vue-chartjs',
description: '⚡ 使用 Chart.js 和 Vue.js 搭建简单和漂亮的图表'
},
'/id/': {
lang: 'id',
title: '📈 vue-chartjs',
description: '⚡ Easy and beautiful charts with Chart.js and Vue.js'
},
'/ja/': {
lang: 'ja',
title: '📈 vue-chartjs',
description: '⚡ Easy and beautiful charts with Chart.js and Vue.js'
},
'/ru/': {
lang: 'ru',
title: '📈 vue-chartjs',
description: '⚡ Простые и красивые графики с Chart.js и Vue.js'
},
'/pt-br/': {
lang: 'pt-br',
title: '📈 vue-chartjs',
description: '⚡ Gráficos bonitos e fácil com Chart.js e Vue.js'
},
'/fr-fr/': {
lang: 'fr-fr',
title: '📈 vue-chartjs',
description: '⚡ Easy and beautiful charts with Chart.js and Vue.js'
}
}
}