Don't put image "alt" text into table-of-contents entries.

This commit is contained in:
Georg Brandl 2009-04-28 20:46:24 +02:00
parent cb86f75bab
commit 82af37ea7c
2 changed files with 5 additions and 0 deletions

View File

@ -1,6 +1,8 @@
Release 0.6.2 (in development)
==============================
* Don't put image "alt" text into table-of-contents entries.
* In the LaTeX writer, do not raise an exception on too many section
levels, just use the "subparagraph" level for all of them.

View File

@ -190,6 +190,9 @@ class SphinxContentsFilter(ContentsFilter):
self.parent.append(nodes.literal(text, text))
raise nodes.SkipNode
def visit_image(self, node):
raise nodes.SkipNode
class BuildEnvironment:
"""