Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix sphinx linkcheck #1207

Merged
merged 1 commit into from
Dec 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading