Phrogz / docubot

Create CHM documentation from simple hierarchy of plain text files.
MIT License
24 stars 2 forks source link

Optional sub-anchors for headers in TOC #10

Closed Phrogz closed 14 years ago

Phrogz commented 14 years ago

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?

Phrogz commented 14 years ago

Hacked in via DocuBot::SubLink in commit a42b5cac5b84e26c57d78ac1bdfd20b18c38c086. Major cleanup on aisle page.rb needed.