Skip to content

Commit

Permalink
changed default search behavior to search only across this doc project (
Browse files Browse the repository at this point in the history
#28)

Co-authored-by: Jen Schripsema <[email protected]>
  • Loading branch information
JSchripsema-IDM and JSchripsema-IDM authored Dec 13, 2023
1 parent 65fde28 commit 5bd157f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
search_project = os.environ["READTHEDOCS_PROJECT"]
search_version = os.environ["READTHEDOCS_VERSION"]

rtd_sphinx_search_default_filter = f"subprojects:{search_project_parent}/{search_version}"
rtd_sphinx_search_default_filter = f"subprojects:{search_project}/{search_version}"

rtd_sphinx_search_filters = {
"Search this project": f"project:{search_project}/{search_version}",
Expand Down

0 comments on commit 5bd157f

Please sign in to comment.