Skip to content

Commit

Permalink
Ignore some links that can't be checked in CI
Browse files Browse the repository at this point in the history
* Skip all .onion URLs since Tor isn't set up
* The GNOME website returns a 403 from cloud networks, including the one
  GitHub Actions runs from.
* Same with the Lenovo support website, except it just times out.
  • Loading branch information
legoktm committed Jan 10, 2025
1 parent 1e404c6 commit 1eb2255
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,3 +239,9 @@
# The default is to use Python’s global socket timeout, which may be `None`.
# This can cause CI jobs to time out.
linkcheck_timeout = 30

linkcheck_ignore = [
r"http://.*\.onion/.*",
"https://www.gnome.org/", # returns 403 from cloud networks
"https://support.lenovo.com", # timeout from cloud networks
]

0 comments on commit 1eb2255

Please sign in to comment.