Skip to content

Commit 4c0a991

Browse files
authored
change default mode of userguide (#1147)
1 parent f49d04a commit 4c0a991

4 files changed

Lines changed: 25 additions & 13 deletions

File tree

src/.vuepress/navbar/en.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const enNavbar = navbar([
2222
{
2323
text: 'Documentation',
2424
children: [
25-
{ text: 'v2.0.x', link: '/UserGuide/latest/QuickStart/QuickStart_apache' },
25+
{ text: 'v2.0.x', link: '/UserGuide/latest-Table/QuickStart/QuickStart_apache' },
2626
{
2727
text: 'v1.3.x',
2828
link: '/UserGuide/V1.3.x/QuickStart/QuickStart_apache',

src/.vuepress/navbar/zh.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const zhNavbar = navbar([
2525
// { text: 'latest', link: '/zh/UserGuide/Master/QuickStart/QuickStart_apache' },
2626
{
2727
text: 'v2.0.x',
28-
link: '/zh/UserGuide/latest/QuickStart/QuickStart_apache',
28+
link: '/zh/UserGuide/latest-Table/QuickStart/QuickStart_apache',
2929
},
3030
{
3131
text: 'v1.3.x',

src/.vuepress/navbar_timecho/en.ts

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,18 @@ export const enNavbar = navbar([
3131
text: 'Documentation',
3232
children: [
3333
{
34-
text: 'latest',
35-
link: '/UserGuide/latest/QuickStart/QuickStart_timecho',
34+
text: 'v2.0.x',
35+
link: '/UserGuide/latest-Table/QuickStart/QuickStart_timecho',
3636
},
37-
{ text: 'v1.1.x', link: '/UserGuide/V1.1.x/QuickStart/QuickStart' },
38-
{ text: 'v1.0.x', link: '/UserGuide/V1.0.x/QuickStart/QuickStart' },
37+
{
38+
text: 'v1.3.x',
39+
link: '/UserGuide/V1.3.x/QuickStart/QuickStart_timecho',
40+
},
41+
{ text: 'v1.2.x', link: '/UserGuide/V1.2.x/QuickStart/QuickStart' },
3942
{ text: 'v0.13.x', link: '/UserGuide/V0.13.x/QuickStart/QuickStart' },
43+
{ text: 'Release History', link: '/UserGuide/latest-Table/IoTDB-Introduction/Release-history_timecho.html' }
4044
],
45+
4146
},
4247
{
4348
text: 'News',

src/.vuepress/navbar_timecho/zh.ts

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,21 @@ export const zhNavbar = navbar([
3131
},
3232
{
3333
text: '文档',
34-
link: 'https://www.timecho.com/docs/zh/latest/QuickStart/QuickStart_timecho.html',
34+
link: 'https://www.timecho.com/docs/zh/latest-Table/QuickStart/QuickStart_timecho.html',
3535
target: '_self',
36-
// children: [
37-
// { text: 'latest', link: '/zh/UserGuide/Master/QuickStart/QuickStart' },
38-
// { text: 'v1.1.x', link: '/zh/UserGuide/V1.1.x/QuickStart/QuickStart' },
39-
// { text: 'v1.0.x', link: '/zh/UserGuide/V1.0.x/QuickStart/QuickStart' },
40-
// { text: 'v0.13.x', link: '/zh/UserGuide/V0.13.x/QuickStart/QuickStart' },
41-
// ],
36+
children: [
37+
{
38+
text: 'v2.0.x',
39+
link: '/zh/UserGuide/latest-Table/QuickStart/QuickStart_timecho',
40+
},
41+
{
42+
text: 'v1.3.x',
43+
link: '/zh/UserGuide/V1.3.x/QuickStart/QuickStart_timecho',
44+
},
45+
{ text: 'v1.2.x', link: '/zh/UserGuide/V1.2.x/QuickStart/QuickStart' },
46+
{ text: 'v0.13.x', link: '/zh/UserGuide/V0.13.x/QuickStart/QuickStart' },
47+
{ text: '发布历史', link: '/zh/UserGuide/latest-Table/IoTDB-Introduction/Release-history_timecho.html' }
48+
],
4249
},
4350
{
4451
text: '新闻',

0 commit comments

Comments
 (0)