From d493655277198789fa70b9e3b91b9e84af0398c6 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Fri, 13 Sep 2024 23:28:49 +0300 Subject: [PATCH] Fix linkcheck (#1398) * Don't linkcheck stackoverflow.com, it's rate limited and times out * Fix XZ link post-backdoor --- conf.py | 4 +++- getting-started/setup-building.rst | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/conf.py b/conf.py index 569245df00..44e625a83d 100644 --- a/conf.py +++ b/conf.py @@ -105,8 +105,10 @@ r'https://github.com/python/bedevere/#pr-state-machine', # "Anchor not found": r'https://packaging.python.org/.*#', + # "-rate limited-", causing a timeout + r'https://stackoverflow.com/.*', # Discord doesn't allow robot crawlers: "403 Client Error: Forbidden" - r'https://support.discord.com/hc/en-us/articles/219070107-Server-Nicknames', + 'https://support.discord.com/hc/en-us/articles/219070107-Server-Nicknames', ] rediraffe_redirects = { diff --git a/getting-started/setup-building.rst b/getting-started/setup-building.rst index 2d6f10e3fd..8d432f0c0f 100644 --- a/getting-started/setup-building.rst +++ b/getting-started/setup-building.rst @@ -779,7 +779,7 @@ on Linux, macOS and iOS. As with CPython itself, the dependencies for CPython must be compiled for each of the hardware architectures that iOS supports. Consult the - documentation for `XZ `__, `bzip2 + documentation for `XZ `__, `bzip2 `__, `OpenSSL `__ and `libffi `__ for details on how to configure the project for cross-platform iOS builds.