Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 18 additions & 23 deletions lychee.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ max_retries = 5
retry_wait_time = 2

# Accept these HTTP status codes as valid
accept = [
200, # OK
429, # Too Many Requests (rate limit - treat as success)
]
# 200 = OK
# 429 = Too Many Requests (rate limit - treat as success)
accept = [200, 429]

# Only check HTTP/HTTPS URLs
scheme = [
Expand All @@ -36,32 +35,28 @@ include = [
]

# Logging verbosity
verbose = "warn"
verbose = "error"

# URL patterns to exclude from checking
# Images - Mintlify rewrites paths during build
# Example URLs used in generated docs
# Social media URLs
# Third party URLs that timeout or rate-limit
# W&B production URLs (checked separately)
exclude = [
# Exclude images - Mintlify rewrites paths during build
'\.(png|jpg|jpeg|gif|svg|webp|ico)$',

# Example URLs used in generated docs
'https://kubeflow.mysite.com',
'https://my-fake-url.com',
'https://my.domain.net',
'my-fake-url\.com',
'my\.domain\.net',
'https://wiki.python.org/moin/UsingPickle',

# Social media
'https://discord.com',
'https://x.com',

# Third party URLs
'https://auth0.com/docs',
'discord\.com',
'https?://x\.com',
'auth0\.com/docs',
'https://cognito-idp.us-east-1.amazonaws.com',
'https://www.netapp.com',
'https://portal.azure.com',
'https://hhs.gov',

# W&B production URLs
'^https://github\.com/wandb',
'netapp\.com',
'portal\.azure\.com',
'hhs\.gov',
'^https://([^/]+\.)?github\.com/wandb',
'^https://(api|app|deploy|docs|www)\.wandb\.(ai|com)',
'^https://wandb\.(ai|com)',
]
Expand Down
Loading