Fix #2474: Add `intersphinx_timeout option to sphinx.ext.intersphinx`

This commit is contained in:
Takeshi KOMIYA
2016-09-01 22:59:17 +09:00
parent 2ef852dce2
commit 4063a67d19
3 changed files with 16 additions and 3 deletions

View File

@@ -121,3 +121,14 @@ linking:
The maximum number of days to cache remote inventories. The default is
``5``, meaning five days. Set this to a negative value to cache inventories
for unlimited time.
.. confval:: intersphinx_timeout
The number of seconds for timeout. The default is ``None``, meaning do not
timeout.
.. note::
timeout is not a time limit on the entire response download; rather, an
exception is raised if the server has not issued a response for timeout
seconds.