Skip to content

Commit

Permalink
docs/linkcheck: Ignores https://www.gnome.org on CI platforms
Browse files Browse the repository at this point in the history
It's replied with a 403 when run on the one from Github
  • Loading branch information
funkyfuture committed Jan 6, 2025
1 parent e53b405 commit a91643d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,13 @@


from importlib import metadata
from os import environ
import re


CI = "CI" in environ


# -- Project information -----------------------------------------------------

project = "delb"
Expand Down Expand Up @@ -122,6 +126,14 @@
html_domain_indices = False


# -- Options for linkcheck ---------------------------------------------------

if CI:
linkcheck_ignore = [
re.escape("https://www.gnome.org/"),
]


# -- Options for HTMLHelp output ---------------------------------------------

# Output file base name for HTML help builder.
Expand Down

0 comments on commit a91643d

Please sign in to comment.