summaryrefslogtreecommitdiff
path: root/sandbox/py-rest-doc/sphinx/directives.py
diff options
context:
space:
mode:
authorgbrandl <gbrandl@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2007-05-26 19:14:27 +0000
committergbrandl <gbrandl@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2007-05-26 19:14:27 +0000
commit34481ad335ea7e93d6aa2e5093b6e43985d5bc08 (patch)
treed3aa0b01f504faba55f1b1b9361aaad0f1329bd6 /sandbox/py-rest-doc/sphinx/directives.py
parent0750dcaa112b5ebbc7f3c7db9fa171ff399802b1 (diff)
downloaddocutils-34481ad335ea7e93d6aa2e5093b6e43985d5bc08.tar.gz
Cache doctrees to disk, so that memory consumption doesn't go over the roof.
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@5162 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
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()