mgeier / insipid-sphinx-theme

:yawning_face: An insipid theme for the Sphinx documentation generator.
https://insipid-sphinx-theme.readthedocs.io/
BSD 2-Clause "Simplified" License
39 stars 4 forks source link

Collapse sidebar on small devices if there is only one section #54

Closed mgeier closed 3 years ago

mgeier commented 3 years ago

This should fix #53.

In the insipid docs this doesn't work on the main page because there are multiple (identical) links to the main page in the sidebar.

On other single-section pages (like "Installation and Usage" and "Version History") this should work.

Rendered: https://insipid-sphinx-theme--54.org.readthedocs.build/en/54/