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,8 +1,8 @@
## 数据卷
## 8.2 数据卷
本节涵盖了相关内容与详细描述主要探讨以下几个方面
### 为什么需要数据卷
### 8.2.1 为什么需要数据卷
容器的存储层有一个关键问题**容器删除后数据就没了**
@@ -17,7 +17,7 @@ flowchart LR
---
### 数据卷的特性
### 8.2.2 数据卷的特性
相关信息如下表
@@ -31,7 +31,7 @@ flowchart LR
---
### 数据卷 vs 容器存储层
### 8.2.3 数据卷 vs 容器存储层
本节涵盖了相关内容与详细描述主要探讨以下几个方面
@@ -71,7 +71,7 @@ graph TD
---
### 数据卷基本操作
### 8.2.4 数据卷基本操作
本节涵盖了相关内容与详细描述主要探讨以下几个方面
@@ -121,7 +121,7 @@ $ docker volume inspect my-vol
---
### 挂载数据卷
### 8.2.5 挂载数据卷
本节涵盖了相关内容与详细描述主要探讨以下几个方面
@@ -187,7 +187,7 @@ $ docker run -d \
---
### 使用场景示例
### 8.2.6 使用场景示例
本节涵盖了相关内容与详细描述主要探讨以下几个方面
@@ -259,7 +259,7 @@ $ docker run -d \
---
### 数据卷管理
### 8.2.7 数据卷管理
本节涵盖了相关内容与详细描述主要探讨以下几个方面
@@ -299,7 +299,7 @@ $ docker volume prune -f
---
### 数据卷备份与恢复
### 8.2.8 数据卷备份与恢复
本节涵盖了相关内容与详细描述主要探讨以下几个方面
@@ -362,7 +362,7 @@ echo "Backed up ${VOLUME_NAME} to ${BACKUP_DIR}/${VOLUME_NAME}_${TIMESTAMP}.tar.
---
### 数据卷 vs 绑定挂载
### 8.2.9 数据卷 vs 绑定挂载
Docker 有两种主要的数据持久化方式
@@ -388,7 +388,7 @@ $ docker run -v /host/path:/app/data nginx
---
### 常见问题
### 8.2.10 常见问题
本节涵盖了相关内容与详细描述主要探讨以下几个方面