Skip to content

Commit 95ee63c

Browse files
committed
use vuepress
1 parent 69abbf0 commit 95ee63c

Some content is hidden

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

106 files changed

+6769
-769
lines changed

.gitignore

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
node_modules
22
.DS_Store
3-
_book
4-
test
53
.idea
4+
docs/.vuepress/dist

CNAME

-1
This file was deleted.

LANGS.md

-6
This file was deleted.

README.md

+6-10

book.json

-19
This file was deleted.

deploy.sh

-10
This file was deleted.

docs/.vuepress/config.js

+84
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
module.exports = {
2+
locales: {
3+
'/': {
4+
lang: 'en-US',
5+
title: 'Vue SSR Guide',
6+
description: 'Vue.js Server-Side Rendering Guide'
7+
},
8+
'/zh/': {
9+
lang: 'zh-CN',
10+
title: 'Vue SSR 指南',
11+
description: 'Vue.js 服务端渲染指南'
12+
}
13+
},
14+
serviceWorker: true,
15+
theme: 'vue',
16+
themeConfig: {
17+
repo: 'vuejs/vue-ssr-docs',
18+
docsDir: 'docs',
19+
locales: {
20+
'/': {
21+
label: 'English',
22+
selectText: 'Languages',
23+
editLinkText: 'Edit this page on GitHub',
24+
nav: [
25+
{
26+
text: 'Guide',
27+
link: '/guide/'
28+
},
29+
{
30+
text: 'API Reference',
31+
link: '/api/'
32+
}
33+
],
34+
sidebar: [
35+
['/', 'Introduction'],
36+
'/guide/',
37+
'/guide/universal',
38+
'/guide/structure',
39+
'/guide/routing',
40+
'/guide/data',
41+
'/guide/hydration',
42+
'/guide/bundle-renderer',
43+
'/guide/build-config',
44+
'/guide/css',
45+
'/guide/head',
46+
'/guide/caching',
47+
'/guide/streaming',
48+
'/guide/non-node'
49+
]
50+
},
51+
'/zh/': {
52+
label: '简体中文',
53+
selectText: '选择语言',
54+
editLinkText: '在 GitHub 上编辑此页',
55+
nav: [
56+
{
57+
text: '指南',
58+
link: '/zh/guide/'
59+
},
60+
{
61+
text: 'API 参考',
62+
link: '/zh/api/'
63+
}
64+
],
65+
sidebar: [
66+
['/zh/', '介绍'],
67+
'/zh/guide/',
68+
'/zh/guide/universal',
69+
'/zh/guide/structure',
70+
'/zh/guide/routing',
71+
'/zh/guide/data',
72+
'/zh/guide/hydration',
73+
'/zh/guide/bundle-renderer',
74+
'/zh/guide/build-config',
75+
'/zh/guide/css',
76+
'/zh/guide/head',
77+
'/zh/guide/caching',
78+
'/zh/guide/streaming',
79+
'/zh/guide/non-node'
80+
]
81+
}
82+
}
83+
}
84+
}

docs/.vuepress/public/_redirects

Whitespace-only changes.

en/README.md renamed to docs/README.md

+9-6

0 commit comments

Comments
 (0)