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

@@ -1,4 +1,4 @@
## Kubernetes 简介
## 12.1 Kubernetes 简介
如图 12-1 所示Kubernetes 使用舵手图标作为项目标识
@@ -6,7 +6,7 @@
12-1 Kubernetes 项目标识
### 什么是 Kubernetes
### 12.1.1 什么是 Kubernetes
Kubernetes (常简称为 K8s) Google 开源的容器编排引擎如果说 Docker 解决了 如何打包和运送集装箱 的问题那么 Kubernetes 解决的就是 如何管理海量集装箱的调度运行和维护 的问题
@@ -16,7 +16,7 @@ Kubernetes (常简称为 K8s) 是 Google 开源的容器编排引擎。如果说
---
### 为什么需要 Kubernetes
### 12.1.2 为什么需要 Kubernetes
当我们在单机运行几个容器时Docker Compose 就足够了但在生产环境中我们需要面对
@@ -30,7 +30,7 @@ Kubernetes 完美解决了这些问题。
---
### 核心概念
### 12.1.3 核心概念
本节涵盖了相关内容与详细描述主要探讨以下几个方面
@@ -56,7 +56,7 @@ Kubernetes 的最小调度单位。一个 Pod 可以包含一个或多个紧密
---
### Docker 用户如何过渡
### 12.1.4 Docker 用户如何过渡
如果你已经熟悉 Docker学习 K8s 会很容易
@@ -69,7 +69,7 @@ Kubernetes 的最小调度单位。一个 Pod 可以包含一个或多个紧密
---
### 架构
### 12.1.5 架构
Kubernetes 也是 C/S 架构 **Control Plane (控制平面)** **Worker Node (工作节点)** 组成
@@ -78,7 +78,7 @@ Kubernetes 也是 C/S 架构,由 **Control Plane (控制平面)** 和 **Worker
---
### 学习建议
### 12.1.6 学习建议
Kubernetes 的学习曲线较陡峭建议的学习路径
@@ -89,7 +89,7 @@ Kubernetes 的学习曲线较陡峭。建议的学习路径:
---
### 延伸阅读
### 12.1.7 延伸阅读
- [Minikube 安装](../setup/README.md)本地体验 K8s
- [Kubernetes 官网](https://kubernetes.io/):官方文档