Hi everyone,

I would like to propose to slim down the side bar on the API pages.

At the moment, we have a long list which includes most/all submodules as well. I would propose to remove all submodules to only keep top level modules.
From the analytics, we have around 10% of our viewer using small screens and for them the experience is very bad. (Even when we will be able to new versions of the theme which improve the situation, it would still be a long list to go through.)
Still from analytics, most of the exit pages are not from submodules. Hence I think the impact on readers of the doc should be minimal (see image attached, and stats are similar for individual page count and entry pages).

In the following PR, we removed the stats submodules to only keep stats in the side bar. We thing it’s cleaner. (We originally started to look into this as we wanted to remove things like result classes mentions.)

https://github.com/scipy/scipy/pull/17876

If there is no objections, I would make a follow up PR to do the change. See the attached images for a preview of how it would look like.

Cheers,
Pamphile

current.pngproposal.pngexit_pages.png