Directive to notify Sphinx about the hierarchical structure of the docs,
and to include a table-of-contents-like tree in the current document.
- Used to be subclassed of TocTree, but now heavily modified from it, to
- avoid tedious bugs from TocTree's rather special role.
+ Used to be subclassed of TocTree, but now modified from it, to avoid
+ tedious bugs from TocTree's rather special role, and depending upon
final_argument_whitespace = False
all_docnames = env.found_docs.copy()
# don't add the currently visited file in catch-all patterns
for entry in self.content:
wrappernode = nodes.compound(classes=['latest-wrapper'])