mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Don't put image "alt" text into table-of-contents entries.
This commit is contained in:
parent
cb86f75bab
commit
82af37ea7c
2
CHANGES
2
CHANGES
@ -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.
|
||||
|
||||
|
@ -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:
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user