Skip to content

Commit fe5a9b7

Browse files
committed
更新文档结构
1 parent f2ee820 commit fe5a9b7

File tree

1 file changed

+29
-27
lines changed

1 file changed

+29
-27
lines changed

.vuepress/config.js

Lines changed: 29 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -43,30 +43,26 @@ module.exports = {
4343
{ "text": "2.1.1", "link": "/releases/2.1.1.html" },
4444
{ "text": "2.1.0", "link": "/releases/2.1.0.html" },
4545
{ "text": "2.0.0", "link": "/releases/2.0.0.html" },
46-
{ "text": "1.2.x", "link": "/releases/1.2.x.html" },
47-
{ "text": "1.2.0", "link": "/releases/1.2.0.html" },
48-
{ "text": "1.1.0", "link": "/releases/1.1.0.html" },
49-
{ "text": "1.0.4", "link": "/releases/1.0.4.html" },
50-
{ "text": "1.0.3", "link": "/releases/1.0.3.html" },
51-
{ "text": "1.0.1", "link": "/releases/1.0.1.html" },
52-
{ "text": "1.0.0", "link": "/releases/1.0.0.html" }
46+
{ "text": "1.x", items: [
47+
{ "text": "1.2.x", "link": "/releases/1.2.x.html" },
48+
{ "text": "1.0.0", "link": "/releases/1.0.0.html" }
49+
] }
5350
]
5451
},
55-
{
56-
text: 'GitHub',
57-
link: 'https://github.com/mybatis-mapper/mapper'
58-
},
59-
{
60-
text: 'Gitee',
61-
link: 'https://gitee.com/mybatis-mapper/mapper'
62-
},
63-
{
64-
text: 'Provider',
65-
items: [
52+
{"text": "仓库地址", items: [
53+
{text: "mybatis-mapper", items: [
54+
{text: 'GitHub', link: 'https://github.com/mybatis-mapper/mapper'},
55+
{text: 'Gitee', link: 'https://gitee.com/mybatis-mapper/mapper'}
56+
]},
57+
{text: "mybatis-provider", items: [
6658
{text: 'GitHub', link: 'https://github.com/mybatis-mapper/provider'},
6759
{text: 'Gitee', link: 'https://gitee.com/mybatis-mapper/provider'}
68-
]
69-
},
60+
]},
61+
{text: "mybatis-config", items: [
62+
{text: 'GitHub', link: 'https://github.com/mybatis-mapper/config'},
63+
{text: 'Gitee', link: 'https://gitee.com/mybatis-mapper/config'}
64+
]},
65+
]},
7066
{
7167
text: '作者博客',
7268
link: 'https://liuzh.blog.csdn.net/'
@@ -120,13 +116,19 @@ module.exports = {
120116
'2.1.1.md',
121117
'2.1.0.md',
122118
'2.0.0.md',
123-
'1.2.x.md',
124-
'1.2.0.md',
125-
'1.1.0.md',
126-
'1.0.4.md',
127-
'1.0.3.md',
128-
'1.0.1.md',
129-
'1.0.0.md',
119+
{
120+
title: '1.x',
121+
sidebarDepth: 2,
122+
children: [
123+
'1.2.x.md',
124+
'1.2.0.md',
125+
'1.1.0.md',
126+
'1.0.4.md',
127+
'1.0.3.md',
128+
'1.0.1.md',
129+
'1.0.0.md',
130+
]
131+
},
130132
]
131133
}
132134
},

0 commit comments

Comments
 (0)