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 @@
## 16.1 Dockerfile 最佳实践
## Dockerfile 最佳实践
本附录是笔者对 Docker 官方文档中 [Best practices for writing Dockerfiles](https://docs.docker.com/develop/develop-images/dockerfile_best-practices/) 的理解与翻译。

View File

@@ -1,4 +1,4 @@
## 16.2 如何调试 Docker
## 如何调试 Docker
本节涵盖了相关内容与详细描述主要探讨以下几个方面

View File

@@ -1,4 +1,4 @@
## 16.3 资源链接
## 资源链接
本节涵盖了相关内容与详细描述主要探讨以下几个方面

View File

@@ -1,4 +1,4 @@
## 16.4 术语词表 (出版统一版)
## 术语词表 (出版统一版)
本词表用于统一全书术语缩写和命令表达适用于最终出版前清稿

View File

@@ -1,4 +1,4 @@
## 16.5 出版清稿规范 (图号与章节风格)
## 出版清稿规范 (图号与章节风格)
本规范用于最终出版前清稿确保全书图号图题章节结构与行文风格一致