Make minimum depth of included headers configurable in gen_toc