Skip to content

Commit ab76998

Browse files
authored
chore: refine link checker configuration (#4158)
1 parent 50b7e01 commit ab76998

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎lychee.toml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Configuration for the lychee link checker (https://lychee.cli.rs/).
22
# Auto-discovered as ./lychee.toml by the lychee GitHub Action.
33

4+
# Treat redirect status codes as success rather than failures.
5+
accept = ["200..=299"]
6+
47
# Files lychee should not scan for links.
58
exclude_path = [
69
# mkdocs-material theme overrides: hrefs are Jinja expressions like
@@ -17,4 +20,6 @@ exclude = [
1720
# documentation of a command rather than a reachable link.
1821
'^https?://0\.0\.0\.0',
1922
'^https?://(localhost|127\.0\.0\.1)(:\d+)?',
23+
# SPEC 0 page times out but is valid.
24+
'^https://scientific-python\.org/specs/spec-0000',
2025
]

0 commit comments

Comments
 (0)