Sphinx Configuration
The following setting can be defined in conf.py:
- autoclasstoc_sections
The default list of sections to include in class TOCs, in the order they should appear in the documentation. The values in the list can be either strings or
Sectionclasses. Strings are the same values that can be provided to the section options of theautoclasstocdirective, and must refer to the name of a section class. The following section names are available by default:public-methodsMethods that don’t begin with an underscore (or that are special methods, e.g.
__init__()).private-methodsMethods that do begin with an underscore (and are not special).
public-attrsNon-methods and non-classes that don’t begin with an underscore.
private-attrsNon-methods and non-classes that begin with an underscore.
inner-classesClasses defined within the class in question.
The names of any custom sections that have been defined can be used as well. The default value for this setting is:
autoclasstoc_sections = [ 'public-attrs', 'public-methods', 'private-attrs', 'private-methods', ]