Skip to content

Commit ab98b26

Browse files
committed
Merge pull request #1540 from rtfd/move-doctrees
Specify doctree location in Sphinx build
2 parents 43a4baa + e422ffb commit ab98b26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readthedocs/doc_builder/backends/sphinx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def build(self, **kwargs):
125125
project = self.version.project
126126
os.chdir(project.conf_dir(self.version.slug))
127127
force_str = " -E " if self._force else ""
128-
build_command = "%s -T %s -b %s -D language=%s . %s " % (
128+
build_command = "%s -T %s -b %s -d _build/doctrees -D language=%s . %s " % (
129129
project.venv_bin(version=self.version.slug,
130130
bin='sphinx-build'),
131131
force_str,

0 commit comments

Comments
 (0)