Skip to content

Commit

Permalink
Ignore cpu docs page during the linkcheck (#3458)
Browse files Browse the repository at this point in the history
Seems that the site is too alergic to github as it repeatedly
refuses to serve the pages when requested from there with this:

    403 Client Error: Forbidden for url: https://www.cpu-world.com/

Let's just ignore it.
  • Loading branch information
psss authored Jan 10, 2025
1 parent f558779 commit 5ed40cc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,10 @@ def _load_theme(
# Github "source code line" anchors are apparently too dynamic for linkcheck
# to detect correctly. The link exists, a browser can open it, but linkcheck
# reports a broken link.
r'https://github.com/packit/packit/blob/main/packit/utils/logging.py#L10'
r'https://github.com/packit/packit/blob/main/packit/utils/logging.py#L10',

# The site repeatedly refuses to serve pages to github
r'https://www.cpu-world.com.*',
]


Expand Down

0 comments on commit 5ed40cc

Please sign in to comment.