Closes #1370: Ignore "toctree" nodes in text writer, instead of raising.

This commit is contained in:
Georg Brandl
2014-03-01 09:27:13 +01:00
parent 3149f36189
commit 1390388baa
2 changed files with 4 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ Bugs fixed
time in sphinx-quickstart.
* #1386: Fix bug preventing more than one theme being added by the entry point
mechanism.
* #1370: Ignore "toctree" nodes in text writer, instead of raising.
Documentation
-------------

View File

@@ -729,6 +729,9 @@ class TextTranslator(nodes.NodeVisitor):
def visit_index(self, node):
raise nodes.SkipNode
def visit_toctree(self, node):
raise nodes.SkipNode
def visit_substitution_definition(self, node):
raise nodes.SkipNode