Skip to content

Commit

Permalink
Build: do not install our extension when building with Conda (#11479)
Browse files Browse the repository at this point in the history
I missed this in #11441
  • Loading branch information
humitos authored Jul 17, 2024
1 parent 2cc701f commit 467413c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion readthedocs/doc_builder/python_environments.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,9 @@ def _get_core_requirements(self):
if self.config.doctype == "mkdocs":
pip_requirements.append("mkdocs")
else:
pip_requirements.append("readthedocs-sphinx-ext")
if not self.project.has_feature(Feature.DISABLE_SPHINX_MANIPULATION):
pip_requirements.append("readthedocs-sphinx-ext")

conda_requirements.extend(["sphinx"])

return pip_requirements, conda_requirements
Expand Down

0 comments on commit 467413c

Please sign in to comment.