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
Describe the bug
The sidebar does not expand when the ToC depth is limited.
To Reproduce
Steps to reproduce the behavior:
sphinx-quickstart and select all defaults (Alabaster theme)
Change / create these files:
index.rst:
.. toctree::
:maxdepth: 1
sub/index
sub/index.rst:
Sub
===
.. toctree::
:maxdepth: 1
topic
sub/topic.rst:
Subtopic
========
test
$ make html
Open _build/html/index and see everything looks fine. The sidebar on the left shows "Sub". Also the ToC in the middle shows "Sub". All looks OK.
Click "Sub" and see ToC in the middle shows "Subtopic" as expected. But the problem is the sidebar still only shows "Sub". It did not expand and does not show "Subtopic"!
Describe the bug
The sidebar does not expand when the ToC depth is limited.
To Reproduce
Steps to reproduce the behavior:
sphinx-quickstart
and select all defaults (Alabaster theme)index.rst
:sub/index.rst
:sub/topic.rst
:_build/html/index
and see everything looks fine. The sidebar on the left shows "Sub". Also the ToC in the middle shows "Sub". All looks OK.test-sphinx.zip
sphinx-doc/sphinx#7171
Expected behavior
The sidebar should expand, even if :maxdepth: is used.
Environment info
The text was updated successfully, but these errors were encountered: