Excluding items from TOC in Sphinx (documenter)?

Posted by Spot on Stack Overflow See other posts from Stack Overflow or by Spot
Published on 2010-03-20T08:04:19Z Indexed on 2010/03/20 8:11 UTC
Read the original article Hit count: 210

I'm using sphinx to document our internal API. For each class we're listing methods and then sub-sections under each such as Description and Examples, etc.

The Table of Contents is generated automatically in the sidebar, which is great except that it lists all the sub-sections. I am looking for a way to tell Sphinx to ignore certain headings when generating the TOC.

I have scoured the docs but have not found what I need. I'm sure it's something I missed. Some advice will be appreciated.

Thanks.

© Stack Overflow or respective owner

Related posts about sphinx

Related posts about tableofcontents