yeasy
ef2625531d
style: 含中文的括号统一为全角(336 处 / 110 文件)
...
全书此前是真·五五开:含中文的括号 336 处半角 : 336 处全角,而且**在同一文件
内混用**——`18_security/18.1_kernel_ns.md` 第 11/17/20 行写 `(如 runC)`,
第 31 行写 `(用户命名空间映射)`。这不是体例问题,是它自己跟自己不一致。
集群里其余 13 本都一边倒(llm_internals 5 : 1049、oc_guide 2 : 713、
forward_deployed_engineering_guide 0 : 108),blockchain_guide 已在 2026-08-05
按同一方向统一过 97 处,故取全角,而非另立新规。全角括号前后不留空格,
原先 `概念 (镜像、容器、仓库) 和` 两侧的空格一并收掉。
**纯拉丁内容的半角括号一个没动**——`新建一个层 (Layer)`、`项目 (project)`
保持原样:改动前后「半角且内容纯拉丁」的数量都是 **1163**,而「半角且含中文」
从 **336 变成 0**。
其余验证:改动前后各自抹掉全部空白与圆括号后**逐字节相同**(两侧均 19559 字符);
左右括号总数改动前后都是 399 : 399,证明没有吞括号也没有配错对。
`check_project_rules` 202/202、`check_emphasis` 202/202、37 tests OK、
根 `format_checker` 与 `validate_codeblocks` 干净、`git diff --check` 干净。
2026-08-24 13:13:23 -07:00
yeasy
6a5c6631df
fix(links): 11 条外链的落点已改名,逐条改到当前规范地址
...
上一轮深审只查了「有没有死链」,这批全是 200 但被重定向到别处的:目标页仍在,
路径/域名却换了。逐条 curl 追 final URL 后对齐:
- docs.docker.com 的旧 `engine/reference/commandline/` 命令参考已整体搬到
`reference/cli/docker/`(resources、learning_roadmap、10.2 三处);
`get-docker/` 搬到 `get-started/get-docker/`。
- `config/labels-custom-metadata/` 搬到 `engine/manage-resources/labels/`。
best_practices 那句里两个不同的链接文字原本指向同一个 URL,现按新页的两个
小节分开:Label keys and values / Manage labels on objects(浏览器实读该页
DOM,两个 id 都在)。
- Fedora 官网域名由 getfedora.org 改为 fedoraproject.org(3.3、20.4 两处)。
- kubernetes.io 的中文站点是 `/zh-cn/`,`/zh/` 是旧前缀。
- Azure 的产品页由 `/services/` 改到 `/products/`。
- 阿里云容器服务改名 ACK:`/product/kubernetes` → `/product/ack`;
文档站 `help.aliyun.com/product/85222.html` → `help.aliyun.com/zh/ack/`。
- Sonatype 下载页由 `/product/repository-oss-download` 改到
`/products/sonatype-nexus-oss-download`。
2026-08-22 23:25:25 -07:00
yeasy
7c96d19fd4
fix(links): busybox 官方仓库 pointed at the homepage, duplicating the line above
...
git.busybox.net is gone — every path under it 404s, including /busybox/ — so
the earlier sweep replaced the dead repo link with https://busybox.net/ . That
is byte-identical to the 官网 bullet directly above it, leaving two bullets
with different labels and the same URL, and a 官方仓库 label describing a page
that is not a repository.
Points it at the official source-download index instead and relabels it
源码下载. Verified 200.
2026-07-23 07:40:41 -07:00
yeasy
a1f63a565b
fix(links): repair dead external links found by a cluster-wide sweep
...
对 13 本书的 1,842 个外链做了一次全量 curl 健康检查(跟随重定向、带浏览器 UA),
逐条排除误报后确认的真死链。替换目标全部逐个验证返回 200。
注意两类**不是**缺陷、因此没有动的:
- platform.claude.com / docs.anthropic.com 当时返回 500,串行重试仍 500,
但同日早些时候可正常访问——是上游临时故障,不是死链。
- docker_practice 列出的国内 registry 镜像连不上,是因为书里已明确标注
「已停止服务」「已于 2024 年关闭」,属于故意保留的历史记录。
2026-07-22 16:51:15 -07:00
yeasy
51698c89c5
fix(content): correct verified internal inconsistencies across 7 sections
...
均为书内自证的矛盾,无需外部来源:
- 19.3: golang:1.26-alpine 标注为 ~1GB,但 21.7 将 ~900MB 归给非 alpine 的
golang:1.26,且 7.17 实测 alpine 版镜像为 295MB——alpine 变体不可能大于其
非 alpine 版本。改为与 21.7 一致的「golang:1.26 基础镜像的 ~900MB」。
- 20_cases_os: 正文称通用镜像 100-300 MB,紧邻的表格却列 Ubuntu ~80 MB
(与 4.2 的 ubuntu 24.04 78MB 一致)。正文改为 80-300 MB。
- 4.2: 「查找大于 500MB 的镜像」的 ^[0-9]+GB 不匹配小数,会漏掉 docker 实际
输出的全部 x.yGB(本书自己的示例即为 2.5GB)。补充可选小数部分。
- 6.2: docker image ls 示例输出把 tag 混入 REPOSITORY 列
(127.0.0.1:5000/ubuntu:latest + TAG latest),与同块 ubuntu/latest 行及
本节自述的 tag 格式不符。
- 5.3: 生命周期状态图缺 Stopped --> Running,而 5.3.6 正是讲 docker start
启动已停止的容器;原图中停止的容器只能被删除。
- 9.5: 端口映射图节点标签 "容器 (Class B: 80)" 语义错乱(Class B 是 IP 地址
分类,与端口无关),改为「容器 (端口: 80)」。
- appendix/faq/errors.md: 标题「常见错误速查表」与 SUMMARY.md 及 faq/README
两处链接文字「常见错误处理」不一致(全书 196 篇中唯一一处标题漂移)。
2026-07-16 23:20:25 -07:00
yeasy
094965e039
修复编辑问题:错别字/语病/术语/标点等 25 处(自动审校)
2026-05-31 22:20:50 -07:00
yeasy
9ef842ebb3
docs: update distro caveats
2026-05-21 18:25:54 -07:00
yeasy
30f0115cb9
Update nginx, OS, Buildx, etcd and K8s refs
2026-04-28 12:22:57 +00:00
yeasy
62f48c1417
Update nginx, Debian, Ubuntu, Fedora, Docker versions
2026-04-28 11:14:55 +00:00
yeasy
fab4e41587
Update OS examples to Debian 13, Ubuntu 26.04, Fedora 43
2026-04-28 09:24:17 +00:00
Baohua Yang
aa204fb454
chore: lint cleanup and version corrections
...
- Accept benign linter changes (version notes, explicit tags, formatting)
- Fix incorrect version downgrades introduced by linter:
- golang:1.22→1.26 (restored)
- rust:1.82→1.95 (restored)
- 23 files updated
2026-04-25 15:58:27 +00:00
yeasy
c9c72618c3
Refresh k8s docker versions and references
2026-04-21 20:57:33 -07:00
yeasy
d81405a807
Update versions and fix stale data
2026-04-17 21:17:12 -07:00
yeasy
76c2ae50fe
Add blank lines around headers
2026-03-24 09:27:04 -07:00
yeasy
44b1307277
Remove blank lines after code block markers
2026-03-21 22:36:09 -07:00
yeasy
224e2738ce
Replace straight quotes with curved quotes
2026-03-11 22:19:26 -07:00
yeasy
bdaeeaa740
Add details for cloud images
2026-03-09 20:04:22 -07:00
yeasy
a16e0879c0
Improve READMEs and add contribution prompts
2026-03-09 20:04:21 -07:00
Baohua Yang
5f32350c12
Add more content and fix format
2026-02-25 21:06:21 -08:00
Baohua Yang
5e8d7252be
Simplify words and fix format issues
2026-02-24 22:01:02 -08:00
Baohua Yang
13f59904c5
Fix all missed links
2026-02-24 21:06:40 -08:00
Baohua Yang
f0c6d7de95
Fix wrong links
2026-02-22 16:04:41 -08:00
Baohua Yang
caa3331cab
Split chapter 20
2026-02-22 15:33:20 -08:00