Skip to content

Commit 566a023

Browse files
committed
docs: add nav link to 1.x doc and update changelog link
1 parent 1c3b7f7 commit 566a023

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

docs/.vuepress/config.js

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,12 @@ module.exports = {
6262
},
6363
{
6464
text: 'Changelog',
65-
link: 'https://github.com/vuejs/vuepress/blob/master/CHANGELOG.md'
66-
}
65+
link: 'https://github.com/vuejs/vuepress/blob/0.x/CHANGELOG.md'
66+
},
67+
{
68+
text: '1.x',
69+
link: 'https://v1.vuepress.vuejs.org/'
70+
},
6771
],
6872
sidebar: {
6973
'/guide/': genSidebarConfig('Guide')
@@ -95,8 +99,12 @@ module.exports = {
9599
},
96100
{
97101
text: 'Changelog',
98-
link: 'https://github.com/vuejs/vuepress/blob/master/CHANGELOG.md'
99-
}
102+
link: 'https://github.com/vuejs/vuepress/blob/0.x/CHANGELOG.md'
103+
},
104+
{
105+
text: '1.x',
106+
link: 'https://v1.vuepress.vuejs.org/'
107+
},
100108
],
101109
sidebar: {
102110
'/zh/guide/': genSidebarConfig('指南')

0 commit comments

Comments
 (0)