Skip to content

Commit

Permalink
Update src/pydata_sphinx_theme/toctree.py
Browse files Browse the repository at this point in the history
  • Loading branch information
drammock authored Jan 18, 2024
1 parent a98c7e1 commit 9bb3332
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/pydata_sphinx_theme/toctree.py
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,6 @@ def get_nonroot_toctree(
for toctree_node in traverse_or_findall(ancestor_doctree, TocTreeNodeClass):
# TODO: ↑↑↑↑↑↑ use `ancestor_doctree.findall(TocTreeNodeClass)` ↑↑↑↑↑↑
# once docutils min version >=0.18.1
# enforce order on the kwargs to ensure caching (this creates an OrderedDict)

# ... resolve that `toctree::` (recursively get children, prune, collapse, etc)
resolved_toctree = toctree.resolve(
Expand Down

0 comments on commit 9bb3332

Please sign in to comment.