@@ -26,7 +26,7 @@ module.exports = {
26
26
head : [
27
27
[ 'script' , { } , `(function customScript() {
28
28
window.addEventListener('load', () => {
29
- var version = window.location.pathname.includes('v4 ') ? 'v4 ' : 'v3 ';
29
+ var version = window.location.pathname.includes('v5 ') ? 'v5 ' : 'v4 ';
30
30
var homeLink = document.querySelector('.home-link');
31
31
32
32
if (homeLink) {
@@ -127,43 +127,12 @@ module.exports = {
127
127
{
128
128
text : 'Versions' ,
129
129
items : [
130
- { text : 'v3 ' , link : '/en/v3 /' } ,
131
- { text : 'v4 ' , link : '/en/v4 /' }
130
+ { text : 'v4 ' , link : '/en/v4 /' } ,
131
+ { text : 'v5 ' , link : '/en/v5 /' }
132
132
]
133
133
}
134
134
] ,
135
135
sidebar : {
136
- '/en/v3/' : [
137
- {
138
- title : 'Getting started' ,
139
- collapsable : false ,
140
- children : [
141
- 'FAQ' ,
142
- 'guide/install' ,
143
- 'guide/run' ,
144
- 'guide/test' ,
145
- 'guide/i18n' ,
146
- 'guide/cli' ,
147
- 'guide/clean-up' ,
148
- 'guide/vuex' ,
149
- 'guide/build' ,
150
- 'guide/config' ,
151
- 'guide/contribute' ,
152
- 'guide/update' ,
153
- 'guide/deployment' ,
154
- ] ,
155
- } ,
156
- {
157
- title : 'Tutorials' ,
158
- collapsable : false ,
159
- children : [ 'tutorials/redirects' , 'tutorials/prefetch-and-state-transfer' , 'tutorials/third-party' , 'tutorials/deploy-with-firebase' ] ,
160
- } ,
161
- {
162
- title : 'Docs' ,
163
- collapsable : false ,
164
- children : [ 'docs/style-guide' , 'docs/pwa' , 'docs/npm-scripts' ] ,
165
- } ,
166
- ] ,
167
136
'/en/v4/' : [
168
137
{
169
138
title : 'General' ,
@@ -199,117 +168,43 @@ module.exports = {
199
168
] ,
200
169
} ,
201
170
] ,
202
- } ,
203
- } ,
204
- '/ru/' : {
205
- label : 'Русский' ,
206
- editLinkText : 'Редактировать эту страницу на GitHub' ,
207
- nav : [
208
- {
209
- text : 'Интерактивное Демо' ,
210
- link : 'https://vuesion.herokuapp.com/' ,
211
- } ,
212
- {
213
- text : 'Дизайн-система' ,
214
- link : 'https://vuesion.herokuapp.com/storybook' ,
215
- } ,
216
- {
217
- text : 'Discord' ,
218
- link : 'https://discord.gg/59x5cg2' ,
219
- } ,
220
- {
221
- text : 'Версии' ,
222
- items : [
223
- { text : 'v4' , link : '/en/v4/' }
224
- ]
225
- }
226
- ] ,
227
- sidebar : {
228
- '/ru/v4/' : [
171
+ '/en/v5/' : [
229
172
{
230
173
title : 'General' ,
231
174
collapsable : false ,
232
175
children : [
233
176
'introduction' ,
234
- 'FAQ'
177
+ // 'FAQ'
235
178
] ,
236
179
} ,
237
180
{
238
- title : 'Начало работы ' ,
181
+ title : 'Getting started ' ,
239
182
collapsable : false ,
240
183
children : [
241
184
'guide/install' ,
242
- 'guide/run' ,
243
- 'guide/test' ,
244
- 'guide/i18n' ,
245
- 'guide/cli' ,
246
- 'guide/clean-up' ,
247
- 'guide/vuex' ,
248
- 'guide/build' ,
249
- 'guide/contribute' ,
250
- 'guide/update' ,
251
- [ 'https://nuxtjs.org/docs/2.x/deployment/deploying-to-21yunbox' , 'Deployment' ] ,
252
- 'guide/npm-scripts' ,
185
+ // 'guide/run',
186
+ // 'guide/test',
187
+ // 'guide/cli',
188
+ // 'guide/clean-up',
189
+ // 'guide/contribute',
253
190
] ,
254
191
} ,
192
+ // {
193
+ // title: 'Deep dives',
194
+ // collapsable: false,
195
+ // children: [
196
+ // 'deep_dives/build',
197
+ // 'deep_dives/design-system',
198
+ // 'deep_dives/i18n',
199
+ // ['https://nuxtjs.org/docs/2.x/deployment/deploying-to-21yunbox', 'Deployment'],
200
+ // 'deep_dives/update',
201
+ // 'deep_dives/npm-scripts',
202
+ // 'deep_dives/vuex',
203
+ // ],
204
+ // },
255
205
] ,
256
206
} ,
257
207
} ,
258
- '/ko/' : {
259
- label : '한국어' ,
260
- editLinkText : 'GitHub에서 현재 페이지 수정하기' ,
261
- nav : [
262
- {
263
- text : '인터렉티브 데모' ,
264
- link : 'https://vuesion.herokuapp.com/' ,
265
- } ,
266
- {
267
- text : '디자인 시스템' ,
268
- link : 'https://vuesion.herokuapp.com/storybook' ,
269
- } ,
270
- {
271
- text : '디스코드' ,
272
- link : 'https://discord.gg/59x5cg2' ,
273
- } ,
274
- {
275
- text : '버전' ,
276
- items : [
277
- { text : 'v3 (영문)' , link : '/en/v3/' } ,
278
- { text : 'v4' , link : '/ko/v4/' }
279
- ]
280
- }
281
- ] ,
282
- sidebar : {
283
- '/ko/v4/' : [
284
- {
285
- title : '일반' ,
286
- collapsable : false ,
287
- children : [
288
- 'introduction' ,
289
- 'FAQ'
290
- ] ,
291
- } ,
292
- {
293
- title : '시작하기' ,
294
- collapsable : false ,
295
- children : [
296
- 'guide/install' ,
297
- 'guide/run' ,
298
- 'guide/test' ,
299
- 'guide/i18n' ,
300
- 'guide/cli' ,
301
- 'guide/clean-up' ,
302
- 'guide/vuex' ,
303
- 'guide/build' ,
304
- 'guide/contribute' ,
305
- 'guide/update' ,
306
- [ 'https://nuxtjs.org/docs/2.x/deployment/deploying-to-21yunbox' , '배포하기' ] ,
307
- 'guide/npm-scripts' ,
308
- ] ,
309
- } ,
310
- ] ,
311
- } ,
312
- }
313
208
} ,
314
209
} ,
315
210
} ;
0 commit comments