Skip to content

Commit bdb9c75

Browse files
committed
Share doctree between builders
We are reducing build time with this. And also saving a little of space in the builders. According to sphinx, we are safe doing this: > the doctrees can be shared between all builders http://www.sphinx-doc.org/en/master/man/sphinx-build.html#cmdoption-sphinx-build-d Closes #4363
1 parent bdb4aa5 commit bdb9c75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readthedocs/doc_builder/backends/sphinx.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def build(self):
217217
'-b',
218218
self.sphinx_builder,
219219
'-d',
220-
'_build/doctrees-{format}'.format(format=self.sphinx_builder),
220+
'_build/doctrees',
221221
'-D',
222222
'language={lang}'.format(lang=project.language),
223223
'.',

0 commit comments

Comments
 (0)