tfdocs.toc_processing.nest_toc

Nests a flat TOC into a tree structure based on common packages.