Skip to content

Commit af15f94

Browse files
committed
调整结构;语义化版本说明;
1 parent 9ed8fba commit af15f94

File tree

3 files changed

+31
-5
lines changed

3 files changed

+31
-5
lines changed

Writerside/s4.tree

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@
66
name="Simple Robot"
77
start-page="Home.topic">
88
<toc-element topic="Home.topic"/>
9-
<toc-element topic="outline.md"/>
10-
<toc-element topic="java-friendly.md"/>
11-
<toc-element topic="use-kotlin.md"/>
12-
<toc-element topic="features.md"/>
9+
<toc-element topic="outline.md">
10+
<toc-element topic="features.md"/>
11+
<toc-element topic="semantic-versioning.md"/>
12+
<toc-element topic="java-friendly.md"/>
13+
<toc-element topic="use-kotlin.md"/>
14+
</toc-element>
1315
<toc-element topic="quick-preview.md"/>
1416
<toc-element topic="how-to-use.md">
1517
<toc-element topic="installation.md"/>

Writerside/topics/features.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 特性概述
1+
# 特性速览
22

33
<tldr>
44

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# 版本语义
2+
3+
simbot的 [核心库](https://github.com/simple-robot/simpler-robot)
4+
和由我们维护的组件库的版本均具有语义。
5+
6+
我们参照并基本遵守 [**《语义化版本 2.0.0》**](https://semver.org/lang/zh-CN/spec/v2.0.0.html)
7+
引用文档内的规则说明:
8+
9+
<note>
10+
版本格式:主版本号.次版本号.修订号,版本号递增规则如下:
11+
12+
1. 主版本号:当你做了不兼容的 API 修改,
13+
2. 次版本号:当你做了向下兼容的功能性新增,
14+
3. 修订号:当你做了向下兼容的问题修正。
15+
16+
先行版本号及版本编译信息可以加到“主版本号.次版本号.修订号”的后面,作为延伸。
17+
</note>
18+
19+
其中,核心库与各组件库的版本之间是**独立维护的**
20+
21+
> 例如核心库的 `4.3.0` 和QQ机器人组件的 `4.0.0-beta1` 之间没有强关联,
22+
也并不代表QQ机器人所使用的核心库就必须是 `4.0.0`
23+
24+

0 commit comments

Comments
 (0)