Open jdillard opened 1 year ago
I think this is simply the result of the default value of the collapse_navigation
config value.
In fact with this value that to true
, the entries that don't have the [+] icon are not really expandable the same way the others are. The HTML of the current page does not include the content of these TOC entries, so it can not be toggled without loading another page.
Problem
When you go to the theme's docs and navigate to
3. Paragraph Level Markup
it adds a minus [-] symbol to the left of the heading letting you know it is expanded, and when you collapse it, it changes to a plus [+] symbol letting you know it can be expanded. In contrast, the1. Structural Elements
and2. Structural Elements 2
headings lack a plus [+] symbol, even though they are expandable, leading to a user believing that they might not be expandable.Reproducible Project
This is the URL to the above example: https://sphinx-rtd-theme.readthedocs.io/en/stable/demo/demo.html
Expected Results
It seems like it would be better to consistently use the plus [+] symbol on all top-level headings that are expandable, the same way it does for sub-level headings, like
3.4. Blocks
and3.5. Sidebar
.Environment Info