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

@@ -4,7 +4,7 @@ WordPress 是全球最流行的内容管理系统 (CMS)。使用 Docker Compose
---
### 项目结构
### 10.8.1 项目结构
如下代码块所示展示了相关示例
@@ -18,7 +18,7 @@ wordpress/
---
### 编写 `compose.yaml`
### 10.8.2 编写 `compose.yaml`
这是一个生产可用的最小化配置
@@ -79,7 +79,7 @@ networks:
---
### 配置文件详解
### 10.8.3 配置文件详解
本节涵盖了相关内容与详细描述主要探讨以下几个方面
@@ -115,7 +115,7 @@ max_execution_time = 600
---
### 启动与运行
### 10.8.4 启动与运行
1. 启动服务
@@ -134,7 +134,7 @@ $ docker compose logs -f
---
### 生产环境最佳实践
### 10.8.5 生产环境最佳实践
本节涵盖了相关内容与详细描述主要探讨以下几个方面
@@ -192,7 +192,7 @@ WordPress 支持 Redis 缓存以提高性能。
---
### 常见问题
### 10.8.6 常见问题
本节涵盖了相关内容与详细描述主要探讨以下几个方面
@@ -214,7 +214,7 @@ $ docker compose restart wordpress
---
### 延伸阅读
### 10.8.7 延伸阅读
- [Compose 模板文件](10.5_compose_file.md)深入了解配置项
- [数据卷](../08_data_network/data/volume.md)理解数据持久化