style(docs): standardize heading formats and numbering

- Enforce Level 1-3 structural numbering based on SUMMARY.md hierarchy
- Remove structural numbering from Level 4+ headings
- Eliminate single child headings by converting to bold text
- Auto-inject summary text for headings with multiple children missing intro text
- Exclude Appendix chapters from structural numbering
- Avoid modifying code block contents
- Add script to detect non-standard English usage in headers
This commit is contained in:
Baohua Yang
2026-02-21 22:40:33 -08:00
parent 33af380be1
commit 175aaae48a
136 changed files with 1015 additions and 766 deletions

View File

@@ -2,7 +2,7 @@
在回答 为什么用 Docker 之前笔者想先问一个问题**你有没有经历过这些场景**
### 没有 Docker 的世界
### 1.3.1 没有 Docker 的世界
Docker 出现之前软件开发和运维面临着诸多棘手的问题我们先来看看以下三个典型的痛点场景
@@ -50,7 +50,7 @@
所有人:😱
```
### Docker 如何解决这些问题
### 1.3.2 Docker 如何解决这些问题
Docker 的出现为上述问题提供了完美的解决方案它通过 一次构建到处运行 的核心理念从根本上改变了软件交付的方式
@@ -75,7 +75,7 @@ flowchart TD
img3 --> res3["完全一致"]
```
### Docker 的核心优势
### 1.3.3 Docker 的核心优势
除了解决上述痛点Docker 还拥有诸多显著的技术优势包括环境一致性秒级启动高效的资源利用等
@@ -204,7 +204,7 @@ flowchart TD
end
```
### Docker 不适合的场景
### 1.3.4 Docker 不适合的场景
笔者认为技术选型要客观Docker 并非银弹以下场景可能不太适合
@@ -224,7 +224,7 @@ flowchart TD
Docker 主要面向服务端应用桌面 GUI 应用的容器化虽然可行但通常得不偿失
### 与传统虚拟机的对比总结
### 1.3.5 与传统虚拟机的对比总结
相关信息如下表