opened
thesamovar
username_0
Not sure if this is easy/possible/desirable, but it might be nice to have collapsible elements at various places in the sphinx documentation. For example, in the reference documentation, you might want to collapse the methods for a class. For the preferences, they naturally form a collapsible hierarchy. etc.

Not high priority, just a thought.
Collapsible items in Sphinx documentation
issue
created
thesamovar
username_0
Some ideas on this here: https://stackoverflow.com/questions/2454577/sphinx-restructuredtext-show-hide-code-snippets

It seems though that the numpy autogenerated docstrings won't make this easy to do because they are organised as a series of paragraphs rather than sections, so automatically hiding a section wouldn't be straightforward. It might be done with CSS selectors because you can reference, for example, ``A+B`` and it means a B element but only if it follows an A element. Not sure if it's worth the effort though.
comment