lychee.toml 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # https://lychee.cli.rs/guides/config/
  2. verbose = "warn"
  3. no_progress = true
  4. cache = true
  5. max_cache_age = "1d"
  6. accept = "200..=204, 302, 307, 429"
  7. cache_exclude_status = "500..=599, 403, 429"
  8. require_https = true
  9. exclude_all_private = true
  10. max_concurrency = 50
  11. accept_timeouts = false # Retry instead
  12. timeout = 15
  13. max_retries = 3
  14. retry_wait_time = 1
  15. extensions = [
  16. "md", "html", "css", "js", "php", "phtml", "sh", "json", "jsonc", "xml", "yml", "yaml", "toml", "neon", "dist", "conf", "txt",
  17. # Dotfiles
  18. "htaccess", "editorconfig", "gitattributes", "gitignore", "jshintignore", "jshintrc", "stylelintignore", "dockerignore"
  19. ]
  20. # For extensionless files
  21. default_extension = "txt"
  22. include_verbatim = true
  23. hidden = true
  24. exclude_path = [
  25. # Files
  26. '(^|/)index\.html$',
  27. '(^|/)\.github/ISSUE_TEMPLATE/feed-report-form\.yml$',
  28. # Directories
  29. '(^|/)data/(cache|users|favicons)($|/)',
  30. '(^|/)lib/(phpmailer|simplepie|phpgt|marienfressinaud)($|/)',
  31. '(^|/)docs/(_includes|_layouts|i18n)($|/)',
  32. '(^|/)p/scripts/vendor($|/)'
  33. ]