Skip to content

Commit 5446f97

Browse files
committed
MkDocs: fix USE_MKDOCS_LATEST feature flag logic
The logic was inverted and we were installing old MkDocs version to projects with `USE_MKDOCS_LATEST` feature flag. Closes #10402
1 parent 84f889a commit 5446f97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readthedocs/doc_builder/python_environments.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,8 @@ def install_core_requirements(self):
211211
positive='mkdocs==0.17.3',
212212
negative=self.project.get_feature_value(
213213
Feature.USE_MKDOCS_LATEST,
214-
positive='mkdocs<1.1',
215-
negative='mkdocs',
214+
positive="mkdocs",
215+
negative="mkdocs<1.1",
216216
),
217217
),
218218
)

0 commit comments

Comments
 (0)