# Lychee link checker configuration # Generated by link-checker [lychee] # Performance settings # Maximum number of retries for failed checks max_retries = 3 # Timeout for each link check (in seconds) timeout = 30 # Maximum number of concurrent checks max_concurrency = 128 skip_code_blocks = false # HTTP settings # Identify the tool to external services user_agent = "Mozilla/5.0 (compatible; link-checker)" # Accept these HTTP status codes as valid accept = [200, 201, 202, 203, 204, 206, 301, 302, 303, 304, 307, 308] # Skip these URL schemes scheme = ["file", "mailto", "tel"] # Exclude patterns (regex supported) exclude = [ # Localhost URLs "^https?://localhost", "^https?://127\\.0\\.0\\.1", # Common CI/CD environments "^https?://.*\\.local", # Example domains used in documentation "^https?://example\\.(com|org|net)", # Placeholder URLs from code block filtering "https://example.com/REMOVED_FROM_CODE_BLOCK", "example.com/INLINE_CODE_URL", # URLs that require authentication "^https?://.*\\.slack\\.com", "^https?://.*\\.atlassian\\.net", # GitHub URLs (often fail due to rate limiting and bot # detection) "^https?://github\\.com", # Common documentation placeholders "YOUR_.*", "REPLACE_.*", "<.*>", ] # Request headers [headers] # Add custom headers here if needed # "Authorization" = "Bearer $GITHUB_TOKEN" # Cache settings cache = true max_cache_age = "1d"