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

@@ -69,6 +69,7 @@ def build_docs(language, target, build_dir):
environ['BUILDDIR'] = build_dir
args = [sys.executable, "-m", "sphinx",
"-j", "auto", # use all the cores! (where possible)
"-b", "html", # TODO: PDFs
"-d", os.path.join(build_dir, "doctrees"),
# TODO: support multiple sphinx-warning.log files, somehow