We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3a9325 commit 7d868f2Copy full SHA for 7d868f2
1 file changed
src/pydata_sphinx_theme/__init__.py
@@ -51,7 +51,9 @@ def update_config(app):
51
# When search is disabled, remove the built-in search button from the navbar
52
# so the user only needs to set one option instead of also clearing navbar_persistent.
53
if theme_options.get("disable_search", False):
54
- navbar_persistent = theme_options.get("navbar_persistent", ["search-button-field"])
+ navbar_persistent = theme_options.get(
55
+ "navbar_persistent", ["search-button-field"]
56
+ )
57
if isinstance(navbar_persistent, str):
58
navbar_persistent = [s.strip() for s in navbar_persistent.split(",")]
59
theme_options["navbar_persistent"] = [
0 commit comments