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:
@@ -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:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user