|
@@ -268,6 +268,9 @@ def _nodes_for_sections(self, doc):
|
|
"""Return list of doctree nodes for additional sections"""
|
|
"""Return list of doctree nodes for additional sections"""
|
|
nodelist = []
|
|
nodelist = []
|
|
for section in doc.sections:
|
|
for section in doc.sections:
|
|
|
|
+ if section.name and section.name == 'TODO':
|
|
|
|
+ # Hide TODO: sections
|
|
|
|
+ continue
|
|
snode = self._make_section(section.name)
|
|
snode = self._make_section(section.name)
|
|
if section.name and section.name.startswith('Example'):
|
|
if section.name and section.name.startswith('Example'):
|
|
snode += self._nodes_for_example(section.text)
|
|
snode += self._nodes_for_example(section.text)
|