Add Chinese (Simplified) translations for all documentation, organized under a dedicated zh/ directory that mirrors the English folder structure. Co-authored-by: tanqingkuang <tanqingkuang@users.noreply.github.com> Translations originally contributed by @tanqingkuang in #45. Restructured from *-CN.md suffix pattern into zh/ directory to prevent the EPUB builder (scripts/build_epub.py collect_folder_files) from picking up Chinese files via glob("*.md") inside module folders.
709 B
709 B
description, allowed-tools
| description | allowed-tools |
|---|---|
| 清理代码、暂存变更并准备 Pull Request | Bash(git add:*), Bash(git status:*), Bash(git diff:*), Bash(npm test:*), Bash(npm run lint:*) |
Pull Request 准备清单
在创建 PR 之前,请执行以下步骤:
-
运行格式化:
prettier --write . -
运行测试:
npm test -
查看 git diff:
git diff HEAD -
暂存变更:
git add . -
按 conventional commits 创建提交信息:
fix:bug 修复feat:新功能docs:文档refactor:代码重构test:测试新增chore:维护
-
生成 PR 摘要,包含:
- 变更了什么
- 为什么变更
- 做了哪些测试
- 可能的影响