Skip to content

fix(docs): fix all dead links and add CD retry logic - #191

Merged
Gaubee merged 1 commit into
mainfrom
fix/cd-retry-and-deadlinks
Jan 9, 2026
Merged

Gaubee merged 1 commit into
mainfrom
fix/cd-retry-and-deadlinks

Conversation

@Gaubee

@Gaubee Gaubee commented Jan 9, 2026

Copy link
Copy Markdown
Contributor

变更内容

1. 修复 48 个文档死链接

修复 white-book 文档中的所有死链接,包括:

  • 修正目录链接(添加 README.md 后缀)
  • 修正文件名不匹配的链接
  • 移除指向不存在文件的链接
  • 更新 index.md 中的中文目录名为实际英文目录名

2. CD 工作流网络重试

为 GitHub Release 创建步骤添加重试逻辑:

  • 使用 nick-fields/retry@v3 action
  • 最多重试 3 次
  • 每次重试间隔 30 秒
  • 处理网络不稳定导致的上传失败问题

3. 恢复 ignoreDeadLinks 配置

将 VitePress 配置从 ignoreDeadLinks: true 恢复为原始的正则表达式配置。

4. 包含 CHAT.md 更新

测试

  • pnpm docs:build 不再报告死链接错误

- Fix 48 dead links in white-book documentation
- Add retry logic (max 3 attempts) for GitHub release creation to handle network issues
- Restore original ignoreDeadLinks configuration
- Update index.md to use correct directory links
@Gaubee
Gaubee merged commit 46e3f5d into main Jan 9, 2026
8 of 10 checks passed
@Gaubee
Gaubee deleted the fix/cd-retry-and-deadlinks branch January 9, 2026 02:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant