Skip to content

Commit f388017

Browse files
Bump version 0.9.3
1 parent 9e2471f commit f388017

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/ansys_sphinx_theme/__init__.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
from ansys_sphinx_theme.latex import generate_404 # noqa: F401
88

9-
__version__ = "0.9.2"
9+
__version__ = "0.9.3"
1010

1111

1212
# Declare the fundamental paths of the theme
@@ -78,9 +78,10 @@ def setup_default_html_theme_options(app):
7878
7979
"""
8080
# Place all switchers and icons at the end of the navigation bar
81-
app.config.html_theme_options.setdefault(
82-
"navbar_end", ["version-switcher", "theme-switcher", "navbar-icon-links"]
83-
)
81+
if app.config.html_theme_options.get("switcher"):
82+
app.config.html_theme_options.setdefault(
83+
"navbar_end", ["version-switcher", "theme-switcher", "navbar-icon-links"]
84+
)
8485
app.config.html_theme_options.setdefault("collapse_navigation", "True")
8586

8687

0 commit comments

Comments
 (0)