PYTHON-5393 Make link checking more robust (#2374)

This commit is contained in:
Steven Silvester 2025-06-11 10:44:46 -05:00 committed by GitHub
parent f645036d71
commit 7e19515d7b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 3 deletions

View File

@ -1700,8 +1700,7 @@ Changes in Version 3.8.0 (2019/04/22)
-------------------------------------
.. warning:: PyMongo no longer supports Python 2.6. RHEL 6 users should install
Python 2.7 or newer from `Red Hat Software Collections
<https://developers.redhat.com/products/softwarecollections/overview>`_.
Python 2.7 or newer from Red Hat Software Collections.
CentOS 6 users should install Python 2.7 or newer from `SCL
<https://wiki.centos.org/AdditionalResources/Repositories/SCL>`_

View File

@ -82,7 +82,7 @@ pygments_style = "sphinx"
# Options for link checking
# The anchors on the rendered markdown page are created after the fact,
# so those link results in a 404.
# wiki.centos.org has been flakey.
# wiki.centos.org has been flaky.
# sourceforge.net is giving a 403 error, but is still accessible from the browser.
linkcheck_ignore = [
"https://github.com/mongodb/specifications/blob/master/source/server-discovery-and-monitoring/server-monitoring.md#requesting-an-immediate-check",
@ -91,6 +91,9 @@ linkcheck_ignore = [
r"https://sourceforge.net/",
]
# Allow for flaky links.
linkcheck_retries = 3
# -- Options for extensions ----------------------------------------------------
autoclass_content = "init"