Skip to content

fix: ignore .docx dead links in VitePress build#3086

Merged
aprildunnam merged 2 commits into
mainfrom
copilot/fix-failing-github-actions-job-yet-again
Jul 5, 2026
Merged

fix: ignore .docx dead links in VitePress build#3086
aprildunnam merged 2 commits into
mainfrom
copilot/fix-failing-github-actions-job-yet-again

Conversation

Copilot AI commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

VitePress's dead link checker fails on links to .docx assets because it only validates HTML/markdown routes — even when the file physically exists. This caused the CI build to fail on a valid download link in recruit-v2-preview/02-declarative-agent/index.md.

Changes

  • docs/.vitepress/config.mts — adds ignoreDeadLinks: [/\.docx$/] to suppress false-positive dead link errors for .docx asset references
export default defineConfig({
  title: "Agent Academy",
  base: "/agent-academy/",
  cleanUrls: true,
  ignoreDeadLinks: [/\.docx$/],
  // ...
});

Copilot AI changed the title [WIP] Fix failing GitHub Actions job build fix: ignore .docx dead links in VitePress build Jul 5, 2026
Copilot AI requested a review from aprildunnam July 5, 2026 05:37
@aprildunnam aprildunnam marked this pull request as ready for review July 5, 2026 05:50
@aprildunnam aprildunnam merged commit 8cfbadc into main Jul 5, 2026
9 checks passed
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.

2 participants