mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix numbering section at singlehtml mode does not work for nested toctree
This commit is contained in:
@@ -11,10 +11,9 @@ Bar A
|
||||
|
||||
should be 2.1
|
||||
|
||||
Bar A1
|
||||
------
|
||||
.. toctree::
|
||||
|
||||
should be 2.1.1
|
||||
baz
|
||||
|
||||
Bar B
|
||||
=====
|
||||
|
||||
5
tests/roots/test-tocdepth/baz.rst
Normal file
5
tests/roots/test-tocdepth/baz.rst
Normal file
@@ -0,0 +1,5 @@
|
||||
Baz A
|
||||
-----
|
||||
|
||||
should be 2.1.1
|
||||
|
||||
Reference in New Issue
Block a user