Skip to content

Commit

Permalink
Enable 'show_prev_next' in the documented defaults (#580)
Browse files Browse the repository at this point in the history
Switch the default value of `show_prev_next` to True in the theme options documentation.

The reason for this change is that the prev / next buttons are useful for navigating the documentation, especially in narrow viewports.
In that case, the only other option to navigate is the hamburger menu, which the user may not be aware of.

Co-authored-by: pyansys-ci-bot <[email protected]>
  • Loading branch information
2 people authored and Revathyvenugopal162 committed Nov 13, 2024
1 parent 895794a commit afba4dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions doc/changelog.d/580.documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Enable 'show_prev_next' in the documented defaults
2 changes: 1 addition & 1 deletion doc/source/user-guide/options.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ for the documentation landing page for the Ansys repository:
html_theme_options = {
"github_url": "https://github.com/ansys/ansys-sphinx-theme",
"show_prev_next": False,
"show_prev_next": True,
"show_breadcrumbs": True,
"additional_breadcrumbs": [
("PyAnsys", "https://docs.pyansys.com/"),
Expand Down

0 comments on commit afba4dd

Please sign in to comment.