forked from zarr-developers/zarr-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlychee.toml
More file actions
25 lines (22 loc) · 1004 Bytes
/
Copy pathlychee.toml
File metadata and controls
25 lines (22 loc) · 1004 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Configuration for the lychee link checker (https://lychee.cli.rs/).
# Auto-discovered as ./lychee.toml by the lychee GitHub Action.
# Treat redirect status codes as success rather than failures.
accept = ["200..=299"]
# Files lychee should not scan for links.
exclude_path = [
# mkdocs-material theme overrides: hrefs are Jinja expressions like
# `{{ '../' ~ base_url }}`, not real URLs, so lychee cannot resolve them.
"docs/overrides",
# Design notes: working records that point at transient artifacts (commits,
# fork branches, compare URLs) which are expected to disappear over time.
"design",
]
# URL patterns to ignore (regex, matched against the full URL).
exclude = [
# Local docs preview server shown in the contributing guide ("hatch run serve"),
# documentation of a command rather than a reachable link.
'^https?://0\.0\.0\.0',
'^https?://(localhost|127\.0\.0\.1)(:\d+)?',
# SPEC 0 page times out but is valid.
'^https://scientific-python\.org/specs/spec-0000',
]