oreillymedia/HTMLBook — pull request #55 by sandersk (2013-07-15 21:45:33+00:00)
Title: Support for specifying TOC section depth

As promised, I added logic that lets you specify how many levels of entries to include in the autogenerated HTML TOC via the $toc.section.depth parameter--i.e., you can specify to include just chapter headings and above, just sect1 headings and above, just sect2 headings and above, and so on.