Skip to content

Commit e85cf7b

Browse files
committed
ci(links): exclude APT repo roots captured in notebook stdout
apt-get install output captured in notebook cells contains URLs like http://deb.debian.org/debian-security which are repository roots, not browseable web pages. Lychee was flagging them as 404. Add the standard Debian + Ubuntu APT mirror hosts so any notebook capturing apt-get output stays clean.
1 parent 3752512 commit e85cf7b

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.lycheeignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@
2727
# Azure marketing/pricing pages, heavy JS that times out from CI runners
2828
^https?://azure\.microsoft\.com/.*pricing/
2929

30+
# APT package-repository roots captured in notebook stdout (apt-get install output).
31+
# Repository roots are not browseable web pages and return 404 to the link checker.
32+
^https?://deb\.debian\.org
33+
^https?://security\.debian\.org
34+
^https?://archive\.ubuntu\.com
35+
^https?://security\.ubuntu\.com
36+
3037
# URL templates with {placeholder} markers (not real URLs - meant for reader substitution).
3138
# Lychee tests the regex against the URL-encoded form, so match both literal {name} and %7Bname%7D.
3239
\{[a-zA-Z_-]+\}

0 commit comments

Comments
 (0)