Skip to content

Commit 7e19515

Browse files
authored
PYTHON-5393 Make link checking more robust (#2374)
1 parent f645036 commit 7e19515

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

doc/changelog.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1700,8 +1700,7 @@ Changes in Version 3.8.0 (2019/04/22)
17001700
-------------------------------------
17011701

17021702
.. warning:: PyMongo no longer supports Python 2.6. RHEL 6 users should install
1703-
Python 2.7 or newer from `Red Hat Software Collections
1704-
<https://developers.redhat.com/products/softwarecollections/overview>`_.
1703+
Python 2.7 or newer from Red Hat Software Collections.
17051704
CentOS 6 users should install Python 2.7 or newer from `SCL
17061705
<https://wiki.centos.org/AdditionalResources/Repositories/SCL>`_
17071706

doc/conf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
# Options for link checking
8383
# The anchors on the rendered markdown page are created after the fact,
8484
# so those link results in a 404.
85-
# wiki.centos.org has been flakey.
85+
# wiki.centos.org has been flaky.
8686
# sourceforge.net is giving a 403 error, but is still accessible from the browser.
8787
linkcheck_ignore = [
8888
"https://github.com/mongodb/specifications/blob/master/source/server-discovery-and-monitoring/server-monitoring.md#requesting-an-immediate-check",
@@ -91,6 +91,9 @@
9191
r"https://sourceforge.net/",
9292
]
9393

94+
# Allow for flaky links.
95+
linkcheck_retries = 3
96+
9497
# -- Options for extensions ----------------------------------------------------
9598
autoclass_content = "init"
9699

0 commit comments

Comments
 (0)