这是由 Jesse205 根据 Magisk 官方文档 翻译的中文文档,并补充了一些内容。
This is a Chinese translation by Jesse205 based on Magisk official documentation with some additions.
这不是官方支持的 topjohnwu 项目!
Warning
本项目正在改造升级,Agent Skills、src/ 目录结构及相关规范可能尚未稳定,后续仍会调整。
本项目使用 pnpm,开发环境需要 Node.js 20.19+ 和 pnpm 12(推荐通过 Corepack 启用)。
- 文档内容与静态资源:
src/ - 站点配置与主题:
.vitepress/ - 安装依赖:
pnpm install - 调试:
pnpm dev - 构建:
pnpm build - 预览构建结果:
pnpm preview - 类型检查:
pnpm typecheck(TypeScript 7 通过typescript-native-bridge桥接 Vue 工具链) - 代码与 Markdown 检查:
pnpm lint(oxlint + rumdl),自动修复使用pnpm lint:fix - 代码与 Markdown 格式化:
pnpm format(oxfmt + rumdl fmt),校验使用pnpm format:check
- 请尽量采用《中文技术文档写作规范》。
- 建议尽量使用 Gitee 提交 pr,其他镜像平台提交的内容可能会因强制推送丢失。
- 智能体工作规则与验证命令见 AGENTS.md。
- 上游同步与翻译流程见 .agents/skills。
Copyright (C) 2023 Jesse205
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.Note
如果您只是引用了本文档翻译的内容,则您的代码无需遵循 GPL 许可。
