Skip to content

Commit 0cff77d

Browse files
committed
Check search doc
1 parent cef4f06 commit 0cff77d

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

lychee.toml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ timeout = 20
4343

4444
# Comma-separated list of accepted status codes for valid links.
4545
# 429 = Too Many Requests (rate-limited, treat as valid).
46-
accept = ["200", "429"]
46+
accept = ["200", "202", "429"]
4747

4848
# Proceed for server connections considered insecure (invalid TLS).
4949
insecure = false
@@ -56,13 +56,13 @@ scheme = ["https", "http"]
5656
# Use HEAD requests — much faster than GET since no body is downloaded.
5757
# Fragment checking requires GET, so include_fragments is disabled;
5858
# internal anchor links are already validated by `mkdocs build --strict`.
59-
method = "head"
59+
method = "GET"
6060

6161
# Mimic a browser to avoid Cloudflare bot-detection (403) on sites like doc.ibexa.co.
6262
user_agent = "Mozilla/5.0 (compatible; lychee link checker)"
6363

6464
# Do NOT check anchor fragments — requires full GET downloads for every URL.
65-
include_fragments = false
65+
include_fragments = true
6666

6767
# Do NOT check links inside <code> and <pre> blocks.
6868
include_verbatim = false
@@ -80,12 +80,17 @@ exclude = [
8080
"^https?://example\\.com",
8181
# GitHub login/auth pages often rate-limit or redirect bots
8282
"^https?://github\\.com/login",
83+
# Known redirects (302) that are intentional
84+
"^https://support\\.ibexa\\.co/",
85+
"^https://redocly\\.com/redoc/",
86+
"^https://updates\\.ibexa.co",
87+
"^https://console\\.cloud\\.google\\.com",
8388
]
8489

8590
# Exclude these input paths from being scanned.
8691
exclude_path = [
8792
# Search index, assets and sitemap contain no meaningful external links
88-
"site/search",
93+
"site/search/search_index.json",
8994
"site/assets",
9095
"site/404.html",
9196
"site/sitemap.xml",

0 commit comments

Comments
 (0)