Functions§
- build_
tree - Build a name-sorted sidebar tree from documents, keyed off their slugs.
A folder’s
index.mdbecomes the folder’s note (the folder links to it) rather than a separateindexchild entry. A doc withsidebar: false(hidden_from_sidebar) is omitted; on a folder’sindex.mdthat hides the whole subtree, and a directory left empty by hidden children is pruned.