chore: references - generate readme from sources

This commit is contained in:
tukuaiai
2026-05-04 05:01:12 +08:00
parent 2eafa33fee
commit 95c591bdd2
17 changed files with 5714 additions and 14 deletions
+1
View File
@@ -7,6 +7,7 @@
- 脚本默认从仓库根目录运行,路径解析必须稳定。
- 新增检查脚本时,同步更新 `scripts/README.md``Makefile`、CI 和根目录 `AGENTS.md` 的命令清单。
- 修改 docs 线性 README 的主章节或锚点后,优先运行 `python3 scripts/sync-doc-toc.py`,再运行 `make test`
- 修改 `docs/references/sources/` 后,运行 `make sync-reference-readme`,再运行 `make test`
- 检查失败输出应包含文件路径、行号或可定位的错误信息。
- 跳过目录必须明确,至少跳过 `.git``.history``node_modules` 和外部源码快照。