When a page has a meta section like:
toc: sections
have the bundle find—and if necessary, add unique IDs to—every header in the page and create TOC sub-entries for them.
TBD: Where does TOC logic belong? Currently it's implicit in the hierarchy of Pages; perhaps we have a new DocuBot::SubSection that lives as a child of the Pages with a similar interface?
When a page has a meta section like:
toc: sections
have the bundle find—and if necessary, add unique IDs to—every header in the page and create TOC sub-entries for them.TBD: Where does TOC logic belong? Currently it's implicit in the hierarchy of Pages; perhaps we have a new DocuBot::SubSection that lives as a child of the Pages with a similar interface?