You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Implement collapsable navigation menus like Wikipedia on moblie #245
The Python documentation table of contents is massive. It's unwieldy on a mobile device. A lot of that comes from itemising all the changelogs going back to 3.0 release. In and of itself, that's fine, but it takes a lot of scrolling to find anything. The indentation also isn't terribly clear to identify what is a subheading of what. Highly nested headings exacerbates this.
Collapsable TOC headings, used on sites like Wikipedia, would help tremendously with this. That way, mobile users could see a cleaner layout resembling the desktop TOC display, then be able to drill down into whatever topic they're looking for.
Here's how the TOC looks on my device (Firefox on Android)
And here's how a couple Wikipedia pages look on my device (with an expanded section to show the effect)
To be specific, although Wikipedia has collapsable sections, what I'm hoping for is collapsable menus, where subheadings can roll up into the heading. And another example I found on the web.
Activity
hugovk commentedon Jul 5, 2025
Please can you give links and screenshots of both the specific Python table of contents and also an example Wikipedia page?
bordenc commentedon Jul 5, 2025
Here's how the TOC looks on my device (Firefox on Android)
And here's how a couple Wikipedia pages look on my device (with an expanded section to show the effect)
To be specific, although Wikipedia has collapsable sections, what I'm hoping for is collapsable menus, where subheadings can roll up into the heading. And another example I found on the web.
hugovk commentedon Jul 6, 2025
Links: