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

@@ -8,74 +8,74 @@ kubectl [flags]
kubectl [command]
```
## get
## 13.8 get
显示一个或多个资源
## describe
## 13.8 describe
显示资源详情
## create
## 13.8 create
从文件或标准输入创建资源
## update
## 13.8 update
从文件或标准输入更新资源
## delete
## 13.8 delete
通过文件名标准输入资源名或者 label selector 删除资源
## logs
## 13.8 logs
输出 pod 中一个容器的日志
## rollout
## 13.8 rollout
Deployment 等资源执行滚动更新/回滚
## exec
## 13.8 exec
在容器内部执行命令
## port-forward
## 13.8 port-forward
将本地端口转发到 Pod
## proxy
## 13.8 proxy
Kubernetes API server 启动代理服务器
## run
## 13.8 run
在集群中使用指定镜像启动容器
## expose
## 13.8 expose
replication controller service pod 暴露为新的 Kubernetes service
## label
## 13.8 label
更新资源的 label
## config
## 13.8 config
修改 Kubernetes 配置文件
## cluster-info
## 13.8 cluster-info
显示集群信息
## api-versions
## 13.8 api-versions
/版本 的格式输出服务端支持的 API 版本
## version
## 13.8 version
输出服务端和客户端的版本信息
## help
## 13.8 help
显示各个命令的帮助信息