Optimize/cleanup with retidy#94
Merged
Merged
Conversation
下线(零 CI/hook 依赖,coverage.py 独立保留):scripts/translate.py / fix_frontmatter.py / cppref_card_generator.py / cppref_manifest.json;.env / .env.example / .cache/translations/;pre-commit 剪 2 死钩子(check-bold-rendering 死门禁 + validate-frontmatter 试点残留)。 ch05 article 1(CN+EN)试点:5 标题改名(writing-style L123 禁'第一步/第二步')+ 4 真实实验织入(+id 整型提升 / 三种语义 copy-vs-ref / zero-overhead 汇编 diff / tuple-proto 运行)+ EN faithful 重译(旧 EN 例子 MyContainer 与 CN SensorData 分叉,整体换齐)。结构 parity 完美(10 H2 / 19 cpp / 4 text / 1 bash 中英一致),coverage Vol.2 仍 100%。 doc 清理:.claude/rules/documents-frontmatter.md 去 stale 的 documents/hooks/meta.py 引用(该文件不存在);.gitignore 删 .env 条目。
Leon19960120 在 #91 指出 Ubuntu 20.04+ 已从源里移除 gdb-arm-none-eabi 包,apt install 会报 Unable to locate package。修正:Ubuntu 安装命令换成 gdb-multiarch(多架构 GDB;注意装出的可执行名是 gdb-multiarch 不是 arm-none-eabi-gdb),并在散文里加替换说明——本教程凡是写到 arm-none-eabi-gdb 处,Ubuntu 用户在命令行换成 gdb-multiarch,Arch 用户保持原样。CN+EN 同步。Arch 路径(pacman 的 arm-none-eabi-gdb 包)不动。 顺带修正 Arch 段一处不准:原文称 Ubuntu 把 gdb 也打包进 gcc-arm-none-eabi,实际 gdb 是单独的 gdb-multiarch 包。05-debugging-guide.md 还有 2 处 arm-none-eabi-gdb 命令,已被替换说明覆盖,留作后续单独清理。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
下线了一些过时的脚本,给仓库减减重量!
同时修复了 @Leon19960120 反馈的 #91