summaryrefslogtreecommitdiff
path: root/sphinx/config.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-01-04 11:27:42 +0100
committerGeorg Brandl <georg@python.org>2011-01-04 11:27:42 +0100
commit51852c0e8732085bc3f933667a3394320c1e98f2 (patch)
tree52eecb2e8dfe9f0186eb64903dc32165d50b9c0c /sphinx/config.py
parent3642b521ed5a8c85faf4b37eb1bc83d6cfa63716 (diff)
downloadsphinx-git-51852c0e8732085bc3f933667a3394320c1e98f2.tar.gz
#472: linkcheck builder: Check links in parallel, use HTTP HEAD requests and allow configuring the timeout.
New config values: :confval:`linkcheck_timeout` and :confval:`linkcheck_workers`.
Diffstat (limited to 'sphinx/config.py')
-rw-r--r--sphinx/config.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sphinx/config.py b/sphinx/config.py
index 922af803a..b461c94bd 100644
--- a/sphinx/config.py
+++ b/sphinx/config.py
@@ -168,6 +168,8 @@ class Config(object):
# linkcheck options
linkcheck_ignore = ([], None),
+ linkcheck_timeout = (None, None),
+ linkcheck_workers = (5, None),
)
def __init__(self, dirname, filename, overrides, tags):