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

GH-103484: Fix permanently redirects reported by linkcheck #124144

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Ignore discuss title text redirects
  • Loading branch information
rffontenelle committed Sep 17, 2024
commit 86c2ed2f6e767b212d2f008f6b626c9971ca9a98
6 changes: 4 additions & 2 deletions Doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -549,15 +549,17 @@
# Language redirects
r'https://toml.io': 'https://toml.io/en/',
r'https://www.redhat.com': 'https://www.redhat.com/en',
# pypi.org project name normalization (upper to lowercase, underscore to hyphen)
r'https://pypi.org/project/[A-Za-z\d_\-\.]+/': r'https://pypi.org/project/[a-z\d\-\.]+/',
# Discourse title name expansion (text changes when title is edited)
r'https://discuss\.python\.org/t/\d+': r'https://discuss\.python\.org/t/.*/\d+'
# Other redirects
r'https://www.boost.org/libs/.+': r'https://www.boost.org/doc/libs/\d_\d+_\d/.+',
r'https://support.microsoft.com/en-us/help/\d+': 'https://support.microsoft.com/en-us/topic/.+',
r'https://perf.wiki.kernel.org$': 'https://perf.wiki.kernel.org/index.php/Main_Page',
r'https://www.sqlite.org': 'https://www.sqlite.org/index.html',
r'https://mitpress.mit.edu/sicp$': 'https://mitpress.mit.edu/9780262510875/structure-and-interpretation-of-computer-programs/',

Check failure on line 561 in Doc/conf.py

View workflow job for this annotation

GitHub Actions / lint

Ruff (E999)

Doc/conf.py:561:37: E999 SyntaxError: Expected ',', found ':'

Check failure on line 561 in Doc/conf.py

View workflow job for this annotation

GitHub Actions / lint

Ruff (E999)

Doc/conf.py:561:85: E999 SyntaxError: Expected ':', found ','
r'https://www.python.org/psf/': 'https://www.python.org/psf-landing/',
# pypi.org project name normalization (upper to lowercase, underscore to hyphen)
r'https://pypi.org/project/[A-Za-z\d_\-\.]+/': r'https://pypi.org/project/[a-z\d\-\.]+/',
}

linkcheck_anchors_ignore = [
Expand Down
2 changes: 1 addition & 1 deletion Doc/library/os.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4511,7 +4511,7 @@ written in Python, such as a mail server's external command delivery program.
already more likely to experience deadlocks running such code.

See `this discussion on fork being incompatible with threads
<https://discuss.python.org/t/concerns-regarding-deprecation-of-fork-with-alive-threads/33555>`_
<https://discuss.python.org/t/33555>`_
for technical details of why we're surfacing this longstanding
platform compatibility problem to developers.

Expand Down
Loading