Skip to content

chore(links): exclude repo source links from lychee - #247

Merged
Arthurvdv merged 1 commit into
mainfrom
chore/lychee-exclude-source-links
Nov 27, 2026
Merged

Arthurvdv merged 1 commit into
mainfrom
chore/lychee-exclude-source-links

Conversation

@Arthurvdv

Copy link
Copy Markdown
Member

Follow-up to #240, which was closed as a false positive.

Docsy renders a "View page source" link to github.com/ALCops/alcops.dev/tree/main/... on every page (153 in the current build). The weekly lychee run checks all of them against github.com. That volume trips the rate limit and produced 45 of the 48 503 errors in #240.

These links point at our own content files, which htmltest already validates on every PR. This change adds them to .lycheeignore:

^https://github\.com/ALCops/alcops\.dev/tree/main/

Other github.com links are still checked, including ALCops/Analyzers, MSDyn365BC.Code.History and BCApps. The edit/main and new/main links weren't flagged, so they're left out of the pattern.

Verification: hugo --minify builds. The pattern matches all 153 tree/main links in public/. After merge, run the External link check workflow by hand to confirm.

🤖 Generated with Claude Code

Docsy renders a "View page source" link to github.com/ALCops/alcops.dev/tree/main/
on every page. The volume trips github.com's rate limit and produced 45 false
503s in #240. These links point at our own content, which htmltest already covers.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Arthurvdv
Arthurvdv merged commit fadcc1e into main Nov 27, 2026
1 check passed
@Arthurvdv
Arthurvdv deleted the chore/lychee-exclude-source-links branch November 27, 2026 06:22
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