Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

The link that lived in the author's hand

说明与用途

在发布管道中自动验证链接,确保所有内部链接在磁盘上存在,消除 404 错误并提高内容可靠性。

问题

Manual link validation in a publishing pipeline caused missed broken links and 404 errors, leading to defects that only surfaced during manual review.

结果

All internal links are verified against the local disk before publishing, eliminating 404 errors and ensuring content integrity.

工作流

  • Parse note for all href and src attributes
  • Resolve relative paths against site root
  • Fold same‑domain absolute URLs to local paths
  • Skip external URLs, mailto, and anchors
  • Check existence of each resolved file on disk
  • Abort push and report note with dead target if any missing
  • Include guard in pre‑flight pipeline alongside other checks

证据

The repair reads every href and src in the note before anything is written.

来源

  • 记录日期: 2026-09-13T10:48:11.436Z