Skip to content

Commit 9fb4b22

Browse files
authored
Project: remove old/deprecated feature flags (#12356)
These flags are not used in the code anymore.
1 parent 000af14 commit 9fb4b22

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

readthedocs/projects/models.py

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1964,13 +1964,8 @@ def add_features(sender, **kwargs):
19641964

19651965
# Dependencies related features
19661966
PIP_ALWAYS_UPGRADE = "pip_always_upgrade"
1967-
USE_NEW_PIP_RESOLVER = "use_new_pip_resolver"
1968-
DONT_INSTALL_LATEST_PIP = "dont_install_latest_pip"
1969-
USE_SPHINX_RTD_EXT_LATEST = "rtd_sphinx_ext_latest"
1970-
INSTALL_LATEST_CORE_REQUIREMENTS = "install_latest_core_requirements"
19711967

19721968
# Search related features
1973-
ENABLE_MKDOCS_SERVER_SIDE_SEARCH = "enable_mkdocs_server_side_search"
19741969
DEFAULT_TO_FUZZY_SEARCH = "default_to_fuzzy_search"
19751970

19761971
# Build related features
@@ -2021,24 +2016,7 @@ def add_features(sender, **kwargs):
20212016
),
20222017
# Dependencies related features
20232018
(PIP_ALWAYS_UPGRADE, _("Build: Always run pip install --upgrade")),
2024-
(USE_NEW_PIP_RESOLVER, _("Build: Use new pip resolver")),
2025-
(
2026-
DONT_INSTALL_LATEST_PIP,
2027-
_("Build: Don't install the latest version of pip"),
2028-
),
2029-
(
2030-
USE_SPHINX_RTD_EXT_LATEST,
2031-
_("Sphinx: Use latest version of the Read the Docs Sphinx extension"),
2032-
),
2033-
(
2034-
INSTALL_LATEST_CORE_REQUIREMENTS,
2035-
_("Build: Install all the latest versions of Read the Docs core requirements"),
2036-
),
20372019
# Search related features.
2038-
(
2039-
ENABLE_MKDOCS_SERVER_SIDE_SEARCH,
2040-
_("Search: Enable server side search for MkDocs projects"),
2041-
),
20422020
(
20432021
DEFAULT_TO_FUZZY_SEARCH,
20442022
_("Search: Default to fuzzy search for simple search queries"),

0 commit comments

Comments
 (0)