Skip to content

Commit 2c301a9

Browse files
committed
feat(v5): add initial docs
1 parent 263ec94 commit 2c301a9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+3477
-17248
lines changed

.vuepress/config.js

Lines changed: 24 additions & 129 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module.exports = {
2626
head: [
2727
['script', {}, `(function customScript() {
2828
window.addEventListener('load', () => {
29-
var version = window.location.pathname.includes('v4') ? 'v4' : 'v3';
29+
var version = window.location.pathname.includes('v5') ? 'v5' : 'v4';
3030
var homeLink = document.querySelector('.home-link');
3131
3232
if (homeLink) {
@@ -127,43 +127,12 @@ module.exports = {
127127
{
128128
text: 'Versions',
129129
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/'}
132132
]
133133
}
134134
],
135135
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-
],
167136
'/en/v4/': [
168137
{
169138
title: 'General',
@@ -199,117 +168,43 @@ module.exports = {
199168
],
200169
},
201170
],
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/': [
229172
{
230173
title: 'General',
231174
collapsable: false,
232175
children: [
233176
'introduction',
234-
'FAQ'
177+
// 'FAQ'
235178
],
236179
},
237180
{
238-
title: 'Начало работы',
181+
title: 'Getting started',
239182
collapsable: false,
240183
children: [
241184
'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',
253190
],
254191
},
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+
// },
255205
],
256206
},
257207
},
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-
}
313208
},
314209
},
315210
};

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55

66

77
# Links
8-
[v3 Docs](https://vuesion.github.io/docs/en/v3/)
9-
108
[v4 Docs](https://vuesion.github.io/docs/en/v4/)
119

10+
[v5 Docs](https://vuesion.github.io/docs/en/v5/)
11+
1212
# Development
1313

1414
- clone repo
1515
- run `npm install`
1616
- run `npm run dev`
17-
- open [http://localhost:8080/docs/en/v4/](http://localhost:8080/docs/en/v4/)
17+
- open [http://localhost:8080/docs/en/v5/](http://localhost:8080/docs/en/v4/)
1818

1919
# Contribute
2020

en/v3/FAQ.md

Lines changed: 0 additions & 62 deletions
This file was deleted.

en/v3/README.md

Lines changed: 0 additions & 32 deletions
This file was deleted.

en/v3/docs/pwa.md

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)