Skip to content

Commit 467413c

Browse files
authored
Build: do not install our extension when building with Conda (#11479)
I missed this in #11441
1 parent 2cc701f commit 467413c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

readthedocs/doc_builder/python_environments.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,9 @@ def _get_core_requirements(self):
356356
if self.config.doctype == "mkdocs":
357357
pip_requirements.append("mkdocs")
358358
else:
359-
pip_requirements.append("readthedocs-sphinx-ext")
359+
if not self.project.has_feature(Feature.DISABLE_SPHINX_MANIPULATION):
360+
pip_requirements.append("readthedocs-sphinx-ext")
361+
360362
conda_requirements.extend(["sphinx"])
361363

362364
return pip_requirements, conda_requirements

0 commit comments

Comments
 (0)