8000 docs: add old doc version link on navbar · PeachScript/vue-infinite-loading@a146b23 · GitHub
[go: up one dir, main page]

Skip to content

Commit a146b23

Browse files
committed
docs: add old doc version link on navbar
1 parent 13d7678 commit a146b23

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/.vuepress/config.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ module.exports = {
2828
text: 'API',
2929
link: '/api/',
3030
},
31+
{
32+
text: 'Old Version',
33+
link: 'https://peachscript.github.io/vue-infinite-loading/old/',
34+
},
3135
],
3236
sidebar: {
3337
'/guide/': [
@@ -65,6 +69,10 @@ module.exports = {
6569
text: 'API',
6670
link: '/zh/api/',
6771
},
72+
{
73+
text: '旧版文档',
74+
link: 'https://peachscript.github.io/vue-infinite-loading/old/',
75+
},
6876
],
6977
sidebar: {
7078
'/zh/guide/': [

0 commit comments

Comments
 (0)
0