docs: Try to enable parallel reads & writes

Reads still single threaded in Sphinx 1.8.5, though.
This commit is contained in:
Angus Gratton
2019-11-28 16:00:24 +11:00
committed by Angus Gratton
parent d1373119e1
commit cbede3a3a4
8 changed files with 14 additions and 0 deletions

View File

@@ -45,6 +45,8 @@ def setup(app):
# to create HTML redirects
app.connect('html-collect-pages', create_redirect_pages)
return { 'parallel_read_safe' : True, 'parallel_write_safe': True, 'version': '0.1' }
def create_redirect_pages(app):
if not isinstance(app.builder, StandaloneHTMLBuilder):