Skip to content

Commit 7d868f2

Browse files
[pre-commit.ci] Automatic linting and formatting fixes
1 parent b3a9325 commit 7d868f2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/pydata_sphinx_theme/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ def update_config(app):
5151
# When search is disabled, remove the built-in search button from the navbar
5252
# so the user only needs to set one option instead of also clearing navbar_persistent.
5353
if theme_options.get("disable_search", False):
54-
navbar_persistent = theme_options.get("navbar_persistent", ["search-button-field"])
54+
navbar_persistent = theme_options.get(
55+
"navbar_persistent", ["search-button-field"]
56+
)
5557
if isinstance(navbar_persistent, str):
5658
navbar_persistent = [s.strip() for s in navbar_persistent.split(",")]
5759
theme_options["navbar_persistent"] = [

0 commit comments

Comments
 (0)