Skip to content

Commit d2b32d1

Browse files
Add the collapse button (#199)
1 parent 2c13efb commit d2b32d1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/ansys_sphinx_theme/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ def setup_default_html_theme_options(app):
7979
app.config.html_theme_options.setdefault(
8080
"navbar_end", ["version-switcher", "theme-switcher", "navbar-icon-links"]
8181
)
82+
app.config.html_theme_options.setdefault("collapse_navigation", "True")
8283

8384

8485
def setup(app: sphinx.application.Sphinx) -> Dict:

src/ansys_sphinx_theme/theme/ansys_sphinx_theme/_templates/autosummary/class.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{ fullname | escape | underline}}
1+
{{ objname | escape | underline}}
22

33
.. currentmodule:: {{ module }}
44

0 commit comments

Comments
 (0)