Skip to content

Commit 974963e

Browse files
authored
docs: changing title for 1.x and update readme (#1330)
1 parent d206d44 commit 974963e

File tree

4 files changed

+8
-101
lines changed

4 files changed

+8
-101
lines changed

README.md

+5-7
Original file line numberDiff line numberDiff line change
@@ -12,26 +12,24 @@
1212
<a href="https://discordapp.com/invite/HBherRA"><img src="https://img.shields.io/badge/Discord-join%20chat-738bd7.svg" alt="vuepress channel on Discord"></a>
1313
</p>
1414

15-
> This is the branch for `VuePress Next` and docs are available at https://vuepress.vuejs.org.
15+
> This is the branch for `VuePress 1.x` and docs are available at https://v1.vuepress.vuejs.org.
1616
1717
## Status: alpha
1818

1919
Certain combinations of plugins may not work properly, and things may change or break until we reach `beta` phase. Do not use in production yet unless you are adventurous.
2020

21-
For 0.x, it's moved to [0.x branch](https://github.com/vuejs/vuepress/tree/0.x) and still maintained, the website was switching to https://v0.vuepress.vuejs.org.
22-
23-
> Note that we are working hard to improve the documentation and contributions welcome if you keep up with the latest changes.
21+
For 0.x, it's moved to [0.x branch](https://github.com/vuejs/vuepress/tree/0.x) and still maintained, the website is: https://vuepress.vuejs.org.
2422

2523
## Install
2624

2725
```bash
28-
yarn add vuepress -D # Install 0.x.x.
29-
yarn add vuepress@next -D # Install next.
26+
yarn add vuepress -D # Install 0.x
27+
yarn add vuepress@next -D # Install 1.x.
3028
```
3129

3230
## Showcase
3331

34-
Check out [Awesome Vuepress](https://github.com/ulivz/awesome-vuepress) to find awesome things related to VuePress.
32+
Check out [Awesome Vuepress](https://github.com/ulivz/awesome-vuepress) to find awesome things related to VuePress 1.x .
3533

3634
## Development
3735

packages/docs/docs/.vuepress/config.js

+3-4
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ module.exports = ctx => ({
66
locales: {
77
'/': {
88
lang: 'en-US',
9-
title: 'VuePress',
9+
title: 'VuePress 1.x',
1010
description: 'Vue-powered Static Site Generator'
1111
},
1212
'/zh/': {
1313
lang: 'zh-CN',
14-
title: 'VuePress',
14+
title: 'VuePress 1.x',
1515
description: 'Vue 驱动的静态网站生成器'
1616
}
1717
},
@@ -64,7 +64,7 @@ module.exports = ctx => ({
6464
}
6565
},
6666
plugins: [
67-
['@vuepress/i18n-ui',!ctx.isProd],
67+
['@vuepress/i18n-ui', !ctx.isProd],
6868
['@vuepress/back-to-top', true],
6969
['@vuepress/pwa', {
7070
serviceWorker: true,
@@ -76,7 +76,6 @@ module.exports = ctx => ({
7676
ga: 'UA-128189152-1'
7777
}],
7878
],
79-
clientRootMixin: path.resolve(__dirname, 'mixin.js'),
8079
extendMarkdown (md) {
8180
md.use(container, 'upgrade', {
8281
render: (tokens, idx) => tokens[idx].nesting === 1

packages/docs/docs/.vuepress/mixin.js

-63
This file was deleted.

packages/docs/docs/.vuepress/styles/index.styl

-27
Original file line numberDiff line numberDiff line change
@@ -4,32 +4,5 @@
44
// font-size 30px;
55
//}
66

7-
.toasted-container.compatibility-notification
8-
&.top-right
9-
right 4vw
10-
.toasted
11-
font-weight 400
12-
width 400px
13-
background-color $accentColor
14-
padding 20px 20px
15-
line-height 1.5
16-
display block
17-
box-shadow 0 4px 5px 0 rgba(0,0,0,0.14), 0 1px 10px 0 rgba(0,0,0,0.12), 0 2px 4px -1px rgba(0,0,0,0.3)
18-
.action.ripple
19-
border 1px solid #fff
20-
color #fff
21-
float right
22-
white-space nowrap
23-
margin 0
24-
code
25-
text-decoration underline
26-
27-
@media (max-width: $MQMobile)
28-
.toasted-container.compatibility-notification
29-
&.top-right
30-
right 5vw
31-
.toasted
32-
width 80vw
33-
347

358

0 commit comments

Comments
 (0)