We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e2471f commit f388017Copy full SHA for f388017
src/ansys_sphinx_theme/__init__.py
@@ -6,7 +6,7 @@
6
7
from ansys_sphinx_theme.latex import generate_404 # noqa: F401
8
9
-__version__ = "0.9.2"
+__version__ = "0.9.3"
10
11
12
# Declare the fundamental paths of the theme
@@ -78,9 +78,10 @@ def setup_default_html_theme_options(app):
78
79
"""
80
# 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
- )
+ if app.config.html_theme_options.get("switcher"):
+ app.config.html_theme_options.setdefault(
+ "navbar_end", ["version-switcher", "theme-switcher", "navbar-icon-links"]
84
+ )
85
app.config.html_theme_options.setdefault("collapse_navigation", "True")
86
87
0 commit comments