Skip to content

Validate docfx links in documentation workflow - #1654

Merged
Andrew Arnott (AArnott) merged 2 commits into
mainfrom
aarnott-validate-docfx-links
Aug 24, 2026
Merged

Validate docfx links in documentation workflow#1654
Andrew Arnott (AArnott) merged 2 commits into
mainfrom
aarnott-validate-docfx-links

Conversation

@AArnott

Copy link
Copy Markdown
Member

The documentation workflow passed while broken links accumulated under docfx because MLC's -p docfx argument explicitly excluded that directory.

Remove the exclusion so MLC scans all documentation, and repair the two broken links it exposes. Approved aka.ms redirects remain validated while their known destinations are allowed to redirect without warnings.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 495c2400-a187-472f-a93a-623465acf571
Copilot AI lite review requested due to automatic review settings August 24, 2026 16:08

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the documentation validation workflow so the Markup Link Checker (mlc) also scans the docfx documentation tree, then fixes the newly surfaced broken links so doc validation is reliable again.

Changes:

  • Removed the -p docfx exclusion from the documentation link-check workflow and expanded the redirect-destination allowlist.
  • Replaced an internal SharePoint link in the cookbook with a public Learn link.
  • Switched an analyzer doc link from an absolute GitHub blob/main/... URL to a local relative link within the docfx tree.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
docfx/docs/cookbook_vs.md Replaces a broken/private reference link with a public Learn page (and updates link reference definitions).
docfx/analyzers/VSTHRD001.md Converts a GitHub blob link to a relative docfx link for better portability and validation.
.github/workflows/docs_validate.yml Ensures the link checker scans docfx content and adjusts redirect allowlisting for known redirect destinations.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/docs_validate.yml Outdated
Comment thread docfx/docs/cookbook_vs.md Outdated
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 495c2400-a187-472f-a93a-623465acf571
Copilot AI review requested due to automatic review settings August 24, 2026 16:16

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.

@AArnott
Andrew Arnott (AArnott) merged commit 2b1521b into main Aug 24, 2026
10 checks passed
@AArnott
Andrew Arnott (AArnott) deleted the aarnott-validate-docfx-links branch August 24, 2026 20:00
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.

3 participants