%TOC% will automatically create a table of contents for a topic based on the headers of the topic. To exclude a heading from a %TOC% add !! to the end of the syntax for a header, e.g. write ---+!! for a ---+ heading.
See More Tips... 
Copyright © by the contributing authors. All material on this site is the property of the contributing authors.