mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Closes #1370: Ignore "toctree" nodes in text writer, instead of raising.
This commit is contained in:
1
CHANGES
1
CHANGES
@@ -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
|
||||
-------------
|
||||
|
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user