summaryrefslogtreecommitdiff
path: root/sandbox/py-rest-doc/sphinx/directives.py
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/py-rest-doc/sphinx/directives.py')
-rw-r--r--sandbox/py-rest-doc/sphinx/directives.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/sandbox/py-rest-doc/sphinx/directives.py b/sandbox/py-rest-doc/sphinx/directives.py
index 21b469093..c753c173e 100644
--- a/sandbox/py-rest-doc/sphinx/directives.py
+++ b/sandbox/py-rest-doc/sphinx/directives.py
@@ -449,8 +449,6 @@ directives.register_directive('moduleauthor', author_directive)
def toctree_directive(name, arguments, options, content, lineno,
content_offset, block_text, state, state_machine):
env = state.document.settings.env
- env.note_toctree_file()
-
dirname = path.dirname(env.filename)
subnode = addnodes.toctree()