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 @@
## DevOps 工作流完整示例
## 19.8 DevOps 工作流完整示例
本章将演示一个基于 DockerKubernetes Jenkins/GitLab CI 的完整 DevOps 工作流
### 工作流概览
### 19.8.1 工作流概览
1. **Code**开发人员提交代码到 GitLab
2. **Build**GitLab CI 触发构建任务
@@ -12,7 +12,7 @@
6. **Verify**人工或自动化验证
7. **Release (Production)**审批后自动部署到生产环境
### 关键配置示例
### 19.8.2 关键配置示例
本节涵盖了相关内容与详细描述主要探讨以下几个方面
@@ -79,7 +79,7 @@ deploy_staging:
- develop
```
### 最佳实践
### 19.8.3 最佳实践
1. **不可变基础设施**一旦镜像构建完成在各个环境 (DevStagingProd) 中都应该使用同一个镜像 tag (通常是 commit hash)而不是重新构建
2. **配置分离**使用 ConfigMap Secret 管理环境特定的配置不要打包进镜像