Skip to main content

Module tree

Module tree 

Source

Functions§

build_tree
Build a name-sorted sidebar tree from documents, keyed off their slugs. A folder’s index.md becomes the folder’s note (the folder links to it) rather than a separate index child entry. A doc with sidebar: false (hidden_from_sidebar) is omitted; on a folder’s index.md that hides the whole subtree, and a directory left empty by hidden children is pruned.