mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
remove trailing whitespace in sphinx/environment.py
This commit is contained in:
parent
ab6706e6ed
commit
ae9afab1fc
@ -1373,7 +1373,7 @@ class BuildEnvironment:
|
|||||||
'iscurrent' not in subnode.parent):
|
'iscurrent' not in subnode.parent):
|
||||||
subnode.parent.remove(subnode)
|
subnode.parent.remove(subnode)
|
||||||
else:
|
else:
|
||||||
# recurse on visible children
|
# recurse on visible children
|
||||||
_toctree_prune(subnode, depth+1, maxdepth)
|
_toctree_prune(subnode, depth+1, maxdepth)
|
||||||
|
|
||||||
def _toctree_add_classes(node, depth):
|
def _toctree_add_classes(node, depth):
|
||||||
|
Loading…
Reference in New Issue
Block a user