docs: some tweaks in docs

This commit is contained in:
2025-06-19 15:30:45 +08:00
parent f8c1a27169
commit 932f644c7f
6 changed files with 17 additions and 17 deletions

View File

@@ -197,8 +197,8 @@ export const navBarItems = {
{ text: 'API 异常处理', link: i18n.string(navigationLinks.config[1], 'zh-cn') }, { text: 'API 异常处理', link: i18n.string(navigationLinks.config[1], 'zh-cn') },
{ text: '作为 Xposed 模块使用的相关配置', link: i18n.string(navigationLinks.config[2], 'zh-cn') }, { text: '作为 Xposed 模块使用的相关配置', link: i18n.string(navigationLinks.config[2], 'zh-cn') },
{ text: '作为 Hook API 使用的相关配置', link: i18n.string(navigationLinks.config[3], 'zh-cn') }, { text: '作为 Hook API 使用的相关配置', link: i18n.string(navigationLinks.config[3], 'zh-cn') },
{ text: '迁移 YukiHookAPI 1.2.x', link: i18n.string(navigationLinks.config[4], 'zh-cn') }, { text: '迁移 YukiHookAPI 1.2.x', link: i18n.string(navigationLinks.config[4], 'zh-cn') },
{ text: '迁移 YukiHookAPI 1.3.x', link: i18n.string(navigationLinks.config[5], 'zh-cn') }, { text: '迁移 YukiHookAPI 1.3.x', link: i18n.string(navigationLinks.config[5], 'zh-cn') },
{ text: 'R8 与 Proguard 混淆', link: i18n.string(navigationLinks.config[6], 'zh-cn') } { text: 'R8 与 Proguard 混淆', link: i18n.string(navigationLinks.config[6], 'zh-cn') }
] ]
}, { }, {

View File

@@ -215,7 +215,7 @@ Please note that the more the same type **Class** is matched, the slower the spe
::: danger ::: danger
After **YukiHookAPI** **2.0.0** released, this function will be deprecated and will no longer be migrated to [YukiReflection](https://github.com/HighCapable/YukiReflection). ~~After **YukiHookAPI** **2.0.0** released, this function will be deprecated and will no longer be migrated to [YukiReflection](https://github.com/HighCapable/YukiReflection).~~
We welcome all developers to start using [DexKit](https://github.com/LuckyPray/DexKit), which is a high-performance runtime parsing library for **Dex** implemented in C++, which is more efficient than the Java layer in terms of performance, efficient and excellent, it is still in the development stage, your valuable suggestions are welcome. We welcome all developers to start using [DexKit](https://github.com/LuckyPray/DexKit), which is a high-performance runtime parsing library for **Dex** implemented in C++, which is more efficient than the Java layer in terms of performance, efficient and excellent, it is still in the development stage, your valuable suggestions are welcome.

View File

@@ -196,7 +196,7 @@ var isExist = "com.demo.Test".hasClass(customClassLoader)
::: danger ::: danger
**YukiHookAPI** 发布 **2.0.0** 版本后,此功能将被标记为作废,且不再会迁移到 [YukiReflection](https://github.com/HighCapable/YukiReflection)。 ~~在 **YukiHookAPI** 发布 **2.0.0** 版本后,此功能将被标记为作废,且不再会迁移到 [YukiReflection](https://github.com/HighCapable/YukiReflection)。~~
我们欢迎各位开发者开始使用 [DexKit](https://github.com/LuckyPray/DexKit),它是一个使用 C++ 实现的 **Dex** 高性能运行时解析库,在性能方面比 Java 层更加高效与优秀,目前尚在开发阶段,欢迎提出宝贵建议。 我们欢迎各位开发者开始使用 [DexKit](https://github.com/LuckyPray/DexKit),它是一个使用 C++ 实现的 **Dex** 高性能运行时解析库,在性能方面比 Java 层更加高效与优秀,目前尚在开发阶段,欢迎提出宝贵建议。

View File

@@ -1,12 +1,12 @@
# 迁移 YukiHookAPI 1.2.x # 迁移 YukiHookAPI 1.2.x
`YukiHookAPI``1.2.0` 版本开始进行了大量调整,你可以继续向下阅读以查看有哪些注意事项和新功能。 `YukiHookAPI``1.2.0` 版本开始进行了大量调整,你可以继续向下阅读以查看有哪些注意事项和新功能。
::: warning ::: warning
如果你正在使用 `1.2.x` 之前版本的 `YukiHookAPI`,建议先参考此文档迁移 `1.2.x` 版本。 如果你正在使用 `1.2.x` 之前版本的 `YukiHookAPI`,建议先参考此文档迁移 `1.2.x` 版本。
如果你正在使用 `1.2.x` 版本的 `YukiHookAPI`,请直接阅读 [迁移 YukiHookAPI 1.3.x](move-to-api-1-3-x) 而不是此文档。 如果你正在使用 `1.2.x` 版本的 `YukiHookAPI`,请直接阅读 [迁移 YukiHookAPI 1.3.x](move-to-api-1-3-x) 而不是此文档。
::: :::
@@ -66,7 +66,7 @@ findClass("com.example.Test").hook {
} }
``` ```
新版 API 的 Hook 对象从 `Class` 迁移`Member`,这种方式将更加直观。 新版 API 的 Hook 对象从 `Class` 迁移`Member`,这种方式将更加直观。
## 差异性功能 ## 差异性功能

View File

@@ -1,27 +1,27 @@
# 迁移 YukiHookAPI 1.3.x # 迁移 YukiHookAPI 1.3.x
`YukiHookAPI``1.3.0` 版本开始弃用了自身的反射 API你可以继续向下阅读以查看有哪些注意事项和新功能。 `YukiHookAPI``1.3.0` 版本开始弃用了自身的反射 API你可以继续向下阅读以查看有哪些注意事项和新功能。
::: warning ::: warning
如果你正在使用 `1.2.x` 及之前版本的 `YukiHookAPI`,建议先阅读 [迁移 YukiHookAPI 1.2.x](move-to-api-1-2-x) 而不是此文档。 如果你正在使用 `1.2.x` 及之前版本的 `YukiHookAPI`,建议先阅读 [迁移 YukiHookAPI 1.2.x](move-to-api-1-2-x) 而不是此文档。
::: :::
## 自身反射 API 弃用 ## 自身反射 API 弃用
`YukiHookAPI``1.3.0` 版本开始弃用了自身的反射 API现在我们推荐所有开发者迁移全新开发的 `YukiHookAPI``1.3.0` 版本开始弃用了自身的反射 API现在我们推荐所有开发者迁移全新开发的
[KavaRef](https://github.com/HighCapable/KavaRef),我们不再推荐使用 `YukiHookAPI` 自身的反射 API这些 API 已被标记为弃用。 [KavaRef](https://github.com/HighCapable/KavaRef),我们不再推荐使用 `YukiHookAPI` 自身的反射 API这些 API 已被标记为弃用。
请参考 [这里](https://highcapable.github.io/KavaRef/zh-cn/config/migration) 的迁移文档,这将跳转到 `KavaRef` 的文档。 请参考 [这里](https://highcapable.github.io/KavaRef/zh-cn/config/migration) 的迁移文档,这将跳转到 `KavaRef` 的文档。
`YukiHookAPI` 目前已经实现了反射 API 的完全解耦合,其内部 API 使用的反射 API 同样迁移`KavaRef`,且已经稳定测试通过。 `YukiHookAPI` 目前已经实现了反射 API 的完全解耦合,其内部 API 使用的反射 API 同样迁移`KavaRef`,且已经稳定测试通过。
在后期的 `2.0.0` 版本中,自身反射 API 将被完全移除,在此期间,你将有足够的时间来学习和迁移这套全新的反射 API。 在后期的 `2.0.0` 版本中,自身反射 API 将被完全移除,在此期间,你将有足够的时间来学习和迁移这套全新的反射 API。
## FreeReflection 弃用 ## FreeReflection 弃用
`YukiHookAPI``1.3.0` 版本开始弃用了 [FreeReflection](https://github.com/tiann/FreeReflection) 并迁移由 LSPosed 团队维护的 `YukiHookAPI``1.3.0` 版本开始弃用了 [FreeReflection](https://github.com/tiann/FreeReflection) 并迁移由 LSPosed 团队维护的
[AndroidHiddenApiBypass](https://github.com/LSPosed/AndroidHiddenApiBypass)。 [AndroidHiddenApiBypass](https://github.com/LSPosed/AndroidHiddenApiBypass)。
在反射系统隐藏 API 时,你不可以像之前那样直接进行反射,而是需要进行一些操作。 在反射系统隐藏 API 时,你不可以像之前那样直接进行反射,而是需要进行一些操作。
@@ -43,7 +43,7 @@
::: warning ::: warning
`AndroidHiddenApiBypassResolver` 是暂定的功能,可能会在 `2.0.0` 版本迁移单独的模块中,你也可以参考 `AndroidHiddenApiBypassResolver` 是暂定的功能,可能会在 `2.0.0` 版本迁移单独的模块中,你也可以参考
[第三方 Member 解析器](https://highcapable.github.io/KavaRef/zh-cn/config/processor-resolvers) 自己实现一份,这将跳转到 `KavaRef` 的文档。 [第三方 Member 解析器](https://highcapable.github.io/KavaRef/zh-cn/config/processor-resolvers) 自己实现一份,这将跳转到 `KavaRef` 的文档。
::: :::

View File

@@ -1,10 +1,10 @@
# 从其它 Hook API 迁移 # 从其它 Hook API 迁移
此文档可以帮助你快速从你熟悉的 Hook API 迁移 `YukiHookAPI` 来熟悉对 `YukiHookAPI` 的相关写法。 此文档可以帮助你快速从你熟悉的 Hook API 迁移 `YukiHookAPI` 来熟悉对 `YukiHookAPI` 的相关写法。
## Rovo89 Xposed API ## Rovo89 Xposed API
> 若你熟悉 [Rovo89 Xposed API](https://api.xposed.info/),你可以参考下方的相同点将自己的 API 快速迁移 `YukiHookAPI`。 > 若你熟悉 [Rovo89 Xposed API](https://api.xposed.info/),你可以参考下方的相同点将自己的 API 快速迁移 `YukiHookAPI`。
### 迁移 Hook 入口点 ### 迁移 Hook 入口点