Skip to content

Commit f5431ef

Browse files
authored
Merge pull request #26 from HuolalaTech/dev
修改README
2 parents 08ee61e + 22fde23 commit f5431ef

File tree

2 files changed

+21
-20
lines changed

2 files changed

+21
-20
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,18 @@ TheRouter core functions have four functionalities:
2828

2929
|module|apt|router|plugin|
3030
|---|---|---|---|
31-
|version|[![apt](https://img.shields.io/badge/apt-1.1.0-green)](https://repo1.maven.org/maven2/cn/therouter/apt/)|[![router](https://img.shields.io/badge/router-1.1.0-green)](https://repo1.maven.org/maven2/cn/therouter/router/)|[![plugin](https://img.shields.io/badge/plugin-1.1.0-green)](https://repo1.maven.org/maven2/cn/therouter/plugin/)|
31+
|version|[![apt](https://img.shields.io/badge/apt-1.1.1-green)](https://repo1.maven.org/maven2/cn/therouter/apt/)|[![router](https://img.shields.io/badge/router-1.1.1-green)](https://repo1.maven.org/maven2/cn/therouter/router/)|[![plugin](https://img.shields.io/badge/plugin-1.1.1-green)](https://repo1.maven.org/maven2/cn/therouter/plugin/)|
3232

3333
```
3434
// root build.gradle
35-
classpath 'cn.therouter:plugin:1.1.0'
35+
classpath 'cn.therouter:plugin:1.1.1'
3636
3737
// app module
3838
apply plugin: 'therouter'
3939
4040
// dependencies
41-
kapt "cn.therouter:apt:1.1.0"
42-
implementation "cn.therouter:router:1.1.0"
41+
kapt "cn.therouter:apt:1.1.1"
42+
implementation "cn.therouter:router:1.1.1"
4343
```
4444

4545
#### B2. initialization library

README_CN.md

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,48 +3,46 @@ Android 动态路由框架:TheRouter
33

44
[![Hex.pm](https://img.shields.io/hexpm/l/plug.svg)](https://www.apache.org/licenses/LICENSE-2.0)
55
[![Language](https://img.shields.io/badge/Language-Kotlin-green)](https://kotlinlang.org/)
6-
[![Wiki](https://img.shields.io/badge/Wiki-open-green)](https://github.com/HuolalaTech/hll-wp-therouter-android/wiki)
6+
[![Wiki](https://img.shields.io/badge/Wiki-open-green)](https://therouter.cn/doc)
77

88
### 一、功能介绍
99

1010
TheRouter 核心功能具备四大能力:
1111

12-
* 页面导航跳转能力([Navigator](https://github.com/HuolalaTech/hll-wp-therouter-android/wiki/Navigator)) 页面跳转能力介绍
13-
* 跨模块依赖注入能力([ServiceProvider](https://github.com/HuolalaTech/hll-wp-therouter-android/wiki/ServiceProvider))跨模块依赖注入
14-
* 单模块自动初始化能力 ([FlowTaskExecutor](https://github.com/HuolalaTech/hll-wp-therouter-android/wiki/FlowTaskExecutor))单模块自动初始化能力介绍
15-
* 动态化能力 ([ActionManager](https://github.com/HuolalaTech/hll-wp-therouter-android/wiki/ActionManager)) 动态化能力支持
12+
* 页面导航跳转能力([Navigator](https://therouter.cn/docs/2022/08/28/01)) 页面跳转能力介绍
13+
* 跨模块依赖注入能力([ServiceProvider](https://therouter.cn/docs/2022/08/27/01))跨模块依赖注入
14+
* 单模块自动初始化能力 ([FlowTaskExecutor](https://therouter.cn/docs/2022/08/26/01))单模块自动初始化能力介绍
15+
* 动态化能力 ([ActionManager](https://therouter.cn/docs/2022/08/25/01)) 动态化能力支持
1616

1717
* Demo:
1818

1919
<img src="https://github.com/HuolalaTech/hll-wp-therouter-android/wiki/uploads/image/demo.gif" width="50%" alt="demo gif" />
2020

2121
### 二、使用介绍
2222

23-
**更多详细使用文档请查看项目 wiki**[Wiki](https://github.com/HuolalaTech/hll-wp-therouter-android/wiki)
24-
25-
**框架介绍,可查看货拉拉移动技术分享的博客文章**[https://juejin.cn/post/7139718803637665822](https://juejin.cn/post/7139718803637665822)
23+
**更多详细使用文档请查看项目 [Wiki](https://therouter.cn/doc)**
2624

2725
#### 2.1 Gradle 引入
2826

2927
|module|apt|router|plugin|
3028
|---|---|---|---|
31-
|version|[![apt](https://img.shields.io/badge/apt-1.1.0-green)](https://repo1.maven.org/maven2/cn/therouter/apt)|[![router](https://img.shields.io/badge/router-1.1.0-green)](https://repo1.maven.org/maven2/cn/therouter/router)|[![plugin](https://img.shields.io/badge/plugin-1.1.0-green)](https://repo1.maven.org/maven2/cn/therouter/plugin)|
29+
|version|[![apt](https://img.shields.io/badge/apt-1.1.1-green)](https://repo1.maven.org/maven2/cn/therouter/apt)|[![router](https://img.shields.io/badge/router-1.1.1-green)](https://repo1.maven.org/maven2/cn/therouter/router)|[![plugin](https://img.shields.io/badge/plugin-1.1.1-green)](https://repo1.maven.org/maven2/cn/therouter/plugin)|
3230

3331
```
3432
// 项目根目录 build.gradle 引入
35-
classpath 'cn.therouter:plugin:1.1.0'
33+
classpath 'cn.therouter:plugin:1.1.1'
3634
3735
// app module 中引入
3836
apply plugin: 'therouter'
3937
40-
// 依赖
41-
kapt "cn.therouter:apt:1.1.0"
42-
implementation "cn.therouter:router:1.1.0"
38+
// 依赖,所有使用了注解的模块都要添加
39+
kapt "cn.therouter:apt:1.1.1"
40+
implementation "cn.therouter:router:1.1.1"
4341
```
4442

4543
#### 2.2 初始化
4644

47-
框架内部包含自动初始化功能,详见[单模块自动初始化能力](https://github.com/HuolalaTech/hll-wp-therouter-android/wiki/FlowTaskExecutor)
45+
框架内部包含自动初始化功能,详见[单模块自动初始化能力](https://therouter.cn/docs/2022/08/26/01)
4846
无需任何初始化代码。但推荐你根据业务设置否为`Debug`环境,用以查看日志信息。
4947
`Application.attachBaseContext()` 方法中尽可能早设置当前是否为`Debug`环境。
5048

@@ -70,7 +68,7 @@ protected void onCreate(@Nullable Bundle savedInstanceState) {
7068

7169
#### 2.4 页面跳转
7270

73-
关于注解`@Route`的参数含义,请查看文档:[页面导航跳转能力](https://github.com/HuolalaTech/hll-wp-therouter-android/wiki/Navigator)
71+
关于注解`@Route`的参数含义,请查看文档:[页面导航跳转能力](https://therouter.cn/docs/2022/08/28/01)
7472

7573
```
7674
@Route(path = "http://therouter.com/home", action = "action://scheme.com",
@@ -119,7 +117,8 @@ public class HomeActivity extends BaseActivity {
119117

120118
#### 3.1 迁移工具一键迁移
121119

122-
可使用迁移工具一键迁移(GitHub下载比较慢):
120+
可使用迁移工具一键迁移(GitHub下载比较慢):
121+
迁移工具使用说明请见官网文档:[https://therouter.cn/docs/2022/09/05/01](https://therouter.cn/docs/2022/09/05/01)
123122

124123
* Mac OS 迁移工具:[uploads/file/TheRouterTransfer-Mac.zip](https://github.com/HuolalaTech/hll-wp-therouter-android/wiki/uploads/file/TheRouterTransfer-Mac.zip)
125124
* Windows 迁移工具:[uploads/file/TheRouterTransfer-Windows.zip](https://github.com/HuolalaTech/hll-wp-therouter-android/wiki/uploads/file/TheRouterTransfer-Windows.zip)
@@ -201,6 +200,8 @@ TheRouter
201200
<img src="https://github.com/HuolalaTech/hll-wp-therouter-android/wiki/uploads/image/hll.png" width="40%" alt="HUOLALA mobile technology team" />
202201

203202
加入 【TheRouter】 官方微信群:
203+
*如过期,请加微信:kymjs123,拉你进群*
204+
204205
<img src="https://kymjs.com/therouter/wx/therouter_wx.jpg" width="40%" alt="TheRouter官方微信群:https://kymjs.com/therouter/wx" />
205206

206207
### 七、开源协议

0 commit comments

Comments
 (0)