Skip to content

Commit 338193a

Browse files
authored
Merge pull request #8 from mybatis-mapper/dev
Dev
2 parents fe5a9b7 + d8d8d4c commit 338193a

14 files changed

+1540
-809
lines changed

.vuepress/config.js

+16-3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ module.exports = {
3131
nav: [
3232
{
3333
text: '快速上手',
34-
link: '/docs/v1.x/1.getting-started.html'
34+
link: '/docs/v2.x/1.getting-started.html'
3535
},
3636
{
3737
text: '深度指南',
@@ -72,10 +72,23 @@ module.exports = {
7272
'/docs/': [
7373
{
7474
title: 'v2.x 使用指南',
75-
sidebarDepth: 2,
75+
sidebarDepth: 3,
7676
children: [
7777
'v2.x/1.getting-started.md',
78-
'v2.x/2.mybatis-mapper.md',
78+
{
79+
title: '2. Mapper 接口',
80+
sidebarDepth: 3,
81+
children: [
82+
'v2.x/2.1.basemapper.md',
83+
'v2.x/2.2.entitymapper.md',
84+
'v2.x/2.3.examplemapper.md',
85+
'v2.x/2.3.examplewrapper.md',
86+
'v2.x/2.4.cursormapper.md',
87+
'v2.x/2.5.fnmapper.md',
88+
'v2.x/2.6.listmapper.md',
89+
'v2.x/2.7.logicalmapper.md',
90+
]
91+
},
7992
'v2.x/3.entity.md',
8093
'v2.x/4.common.md',
8194
'v2.x/5.service.md',

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ heroText: MyBatis Mapper
55
tagline: 全新一代 MyBatis Mapper,简单易用,无需配置
66
footer: Apache License 2.0 | Copyright © 2021 Liuzh
77
actionText: 快速上手 →
8-
actionLink: /docs/v1.x/1.getting-started.html
8+
actionLink: /docs/v2.x/1.getting-started.html
99
features:
1010
- title: 开箱即用
1111
details: 无需任何配置,继承基类 Mapper 即可获得大量通用方法。

docs/v1.x/1.getting-started.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22
title: 1.快速上手
33
---
44

5-
## 介绍
6-
75
这是一个不需要任何配置就可以直接使用的通用 Mapper,通过简单的学习就可以直接在项目中使用。
86

7+
::: warning 版本说明
8+
当前为旧版本 1.x 版本文档,如果需要 2.x 版本文档,请查看 [2.x 文档](/docs/v2.x/1.getting-started.html)
9+
:::
10+
911
## 1.1 主要目标
1012

1113
1. 开箱即用,无需任何配置,继承基类 Mapper 即可获得大量通用方法;
@@ -208,4 +210,4 @@ WHERE
208210
( name LIKE ? )
209211
```
210212

211-
详细的介绍可以[查看 1.2.0 更新日志](../releases/1.2.0.md)
213+
详细的介绍可以[查看 1.2.0 更新日志](../../releases/1.2.0.md)

docs/v2.x/1.getting-started.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22
title: 1.快速上手
33
---
44

5-
## 介绍
6-
75
这是一个不需要任何配置就可以直接使用的通用 Mapper,通过简单的学习就可以直接在项目中使用。
86

7+
::: tip 版本说明
8+
当前为 2.x 版本最新文档,如果需要 1.x 版本文档,请查看 [1.x 文档](/docs/v1.x/1.getting-started.html)
9+
:::
10+
911
## 1.1 主要目标
1012

1113
1. 开箱即用,无需任何配置,继承基类 Mapper 即可获得大量通用方法;
@@ -226,4 +228,4 @@ WHERE
226228
( name LIKE ? )
227229
```
228230

229-
详细的介绍可以[查看 1.2.0 更新日志](../releases/1.2.0.md)
231+
详细的介绍可以[查看 1.2.0 更新日志](../../releases/1.2.0.md)

0 commit comments

Comments
 (0)