Skip to content

Commit e674df0

Browse files
authored
Settings: remove unused (#11116)
Remove `INDEX_ONLY_LATEST` which has no effect.
1 parent f416445 commit e674df0

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

docs/dev/settings.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,6 @@ DEFAULT_PRIVACY_LEVEL
3535

3636
What privacy projects default to having. Generally set to `public`. Also acts as a proxy setting for blocking certain historically insecure options, like serving generated artifacts directly from the media server.
3737

38-
INDEX_ONLY_LATEST
39-
-----------------
40-
41-
In search, only index the `latest` version of a Project.
42-
4338
PUBLIC_DOMAIN
4439
-------------
4540

readthedocs/search/tests/test_views.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -306,9 +306,6 @@ def test_file_search_filter_by_project(self, client):
306306
reason="Versions are not showing correctly! Fixme while rewrite!"
307307
)
308308
def test_file_search_show_versions(self, client, all_projects, es_index, settings):
309-
# override the settings to index all versions
310-
settings.INDEX_ONLY_LATEST = False
311-
312309
project = all_projects[0]
313310
# Create some versions of the project
314311
versions = [get(Version, project=project) for _ in range(3)]

0 commit comments

Comments
 (0)