Skip to content

Commit

Permalink
Add the collapse button (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
Revathyvenugopal162 authored Feb 14, 2023
1 parent 2c13efb commit d2b32d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/ansys_sphinx_theme/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ def setup_default_html_theme_options(app):
app.config.html_theme_options.setdefault(
"navbar_end", ["version-switcher", "theme-switcher", "navbar-icon-links"]
)
app.config.html_theme_options.setdefault("collapse_navigation", "True")


def setup(app: sphinx.application.Sphinx) -> Dict:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ fullname | escape | underline}}
{{ objname | escape | underline}}

.. currentmodule:: {{ module }}

Expand Down

0 comments on commit d2b32d1

Please sign in to comment.