...
|
...
|
@@ -288,8 +288,13 @@ def setup(app):
|
288
|
288
|
app.add_autodocumenter(BoundMethodDocumenter)
|
289
|
289
|
|
290
|
290
|
|
291
|
|
-# IOP times out on check but the link verified and correct.
|
292
|
|
-linkcheck_ignore = [r'https://iopscience.iop.org/1367-2630/16/6/063065/article']
|
|
291
|
+# By default linkcheck only tries once, but experience has shown us that this test is
|
|
292
|
+# very non-specific for detecting dead links. Trying a few times should significantly
|
|
293
|
+# lower the probability of false positives.
|
|
294
|
+linkcheck_retries = 5
|
|
295
|
+# Some websites (particularly IoP) take a long time to respond. The combination of
|
|
296
|
+# this timeout and the retries should make this check sufficiently specific.
|
|
297
|
+linkcheck_timeout = 10
|
293
|
298
|
|
294
|
299
|
nitpick_ignore = [('py:class', 'Warning'), ('py:class', 'Exception'),
|
295
|
300
|
('py:class', 'object'), ('py:class', 'tuple'),
|