zepan
|
2821a421bc
|
ci: check that referenced images exist; document shallow clone
断链图片一直在悄悄累积(本次清理前有 230 处),而且线上看不出来:
teedoc-upload 只上传不删除对象存储里已移除的文件,旧副本把断链盖住了,
所以页面看起来正常。CI 里也从来没有任何链接检查。
- tools/check_image_links.py:只认 markdown ![]() 与 <img src>,
先剥离代码块以免把 `convert in.jpg out.jpg` 这类示例当成引用,
并按 site_config 的 route 解析站点绝对路径。
- tools/known_broken_images.txt:当前仍存在的 121 处已知断链基线。
CI 对不在基线中的断链报错,基线只许减不许增。
- .github/workflows/check_links.yml:push 与 PR 均运行。
- README:建议 --depth=1 浅克隆并解释原因——文档站的历史里保留了
每张图的所有旧版本(约 1GB),而贡献者只需要当前版本。
|
2026-10-07 01:01:33 +08:00 |
|
Neucrack
|
50f4d1ca65
|
update for maixcdk
|
2024-11-08 19:09:21 +08:00 |
|
Neucrack
|
88f9f51abe
|
update build all ci
|
2024-10-10 16:20:21 +08:00 |
|
Neucrack
|
79e70c084a
|
Update publish.yml
|
2024-04-19 23:46:04 +08:00 |
|
Neucrack
|
a2bd3dc110
|
Update publish_upload_all.yml
|
2024-03-25 17:50:11 +08:00 |
|
Neucrack
|
af64206044
|
Update publish.yml
|
2024-03-25 17:45:46 +08:00 |
|
Neucrack
|
2f16d9de09
|
fix action push failed error
|
2024-03-15 14:15:01 +08:00 |
|
Neucrack
|
28c89457f2
|
push to gh-pages before upload to china server
|
2024-03-07 18:06:04 +08:00 |
|
Neucrack
|
3772e18bad
|
update maixpy ci
|
2024-03-07 17:48:35 +08:00 |
|
Neucrack
|
1dbe368fb3
|
add maixpy doc trigger test
|
2024-03-07 17:13:29 +08:00 |
|
Neucrack
|
36391de9b6
|
fix ci error
|
2023-10-29 20:45:41 +08:00 |
|
Neucrack
|
4a94799d23
|
fix git push bug
|
2023-10-17 17:40:00 +08:00 |
|
Neucrack
|
604aca94d1
|
commit transalate files
|
2023-10-12 14:31:00 +08:00 |
|
Neucrack
|
f954fc6018
|
Update publish.yml
|
2023-10-09 19:51:50 +08:00 |
|
LearningPawn
|
3c92b6ba85
|
Make GitHub Actions can only run in the original repository.
|
2022-11-04 09:27:36 +08:00 |
|
junhuanchen
|
e93ab52435
|
[home] update
|
2022-09-15 11:50:41 +08:00 |
|
Neucrack
|
3af81c17f2
|
Update publish_upload_all.yml
|
2022-09-11 22:33:11 +08:00 |
|
Neucrack
|
d9efdf6ccd
|
Update publish.yml
|
2022-09-11 22:32:56 +08:00 |
|
Neucrack
|
d39e90f0a6
|
change ci deploy server
|
2022-09-06 15:17:33 +08:00 |
|
Neucrack
|
b33e698ef0
|
update publish
|
2022-09-05 18:10:26 +08:00 |
|
Neucrack
|
106ad15b3d
|
update ci
|
2022-09-05 16:28:26 +08:00 |
|
junhuanchen
|
e75d983e11
|
[release]
|
2022-07-06 11:24:18 +08:00 |
|