Skip to content

Commit

Permalink
Merge pull request #1207 from dnicolodi/fix-linkcheck
Browse files Browse the repository at this point in the history
Fix sphinx linkcheck
  • Loading branch information
woodruffw authored Dec 19, 2024
2 parents eb128f7 + a52bc4c commit 46b704b
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 @@ -278,6 +278,12 @@
# Avoid errors from 403/Login Redirects
r"https://(test\.)?pypi\.org/manage/project/twine/collaboration/?",
r"https://pypi\.org/manage/project/twine/collaboration/?",
# PyPI uses <section id=""> anchor links that are not understood by
# linkcheck. Ignore these link targets in the check until they are
# supported. Maybe use linkcheck_anchors_ignore_for_url configuration
# option once Sphinx 7.1 or later is used, see
# https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-linkcheck_anchors_ignore_for_url
r"https://pypi\.org/project/[^/]+/\#",
]

intersphinx_mapping = {
Expand Down

0 comments on commit 46b704b

Please sign in to comment.