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 b4b681e179
commit abbed067c2
136 changed files with 1015 additions and 766 deletions

View File

@@ -2,7 +2,7 @@
本节涵盖了相关内容与详细描述主要探讨以下几个方面
### 什么是 Docker Hub
### 6.1.1 什么是 Docker Hub
Docker Hub Docker 的中央镜像仓库通过它您可以轻松地分享和获取 Docker 镜像
@@ -18,7 +18,7 @@ Docker Hub 是 Docker 的中央镜像仓库,通过它您可以轻松地分享
---
### 核心功能
### 6.1.2 核心功能
本节涵盖了相关内容与详细描述主要探讨以下几个方面
@@ -70,7 +70,7 @@ $ docker push username/myapp:v1
---
### 限制与配额
### 6.1.3 限制与配额
本节涵盖了相关内容与详细描述主要探讨以下几个方面
@@ -95,7 +95,7 @@ $ docker push username/myapp:v1
---
### 安全最佳实践
### 6.1.4 安全最佳实践
本节涵盖了相关内容与详细描述主要探讨以下几个方面
@@ -123,7 +123,7 @@ Docker Hub 会对官方镜像和付费用户的镜像进行安全扫描。在镜
---
### Webhooks
### 6.1.5 Webhooks
当镜像被推送时可以自动触发 HTTP 回调 (例如通知 CI 系统部署)
@@ -132,7 +132,7 @@ Docker Hub 会对官方镜像和付费用户的镜像进行安全扫描。在镜
---
### 自动构建
### 6.1.6 自动构建
> 目前仅限付费用户 (Pro/Team) 使用