executablebooks / sphinx-book-theme

A clean book theme for scientific explanations and documentation with Sphinx
https://sphinx-book-theme.readthedocs.io
BSD 3-Clause "New" or "Revised" License
429 stars 198 forks source link

"Optional" permanent toggle primary-sidebar button #745

Closed dprada closed 1 year ago

dprada commented 1 year ago

Context

I think that sometimes one would like to expand the article content temporarily (hiding the primary sidebar). Is there an option to add a button to toggle the primary sidebar in the article content area?

Proposal

If this feature is not available yet in the theme, I would like to suggest the inclusion of a toggle button for the primary sidebar. Something similar to what the Sphinx-book-theme has:

image

A good location would be at the left of the 'breadcrumb-home' icon in the breadcrumbs navigation area.

Screenshot from 2023-06-22 15-28-01

If this option bothers some users of the theme, it could be activated/deactivated with an html_theme_option entry.

Tasks and updates

No response

welcome[bot] commented 1 year ago

Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! :tada:

dprada commented 1 year ago

wrong place, sorry