explanations of TOC generation are now online on examples portal http://laurent-laville.org/asciidoc/bootstrap/examples/