1. Georg Brandl
  2. sphinx

Commits

Jon Waltman  committed e2c8777

[texinfo] Fix seealso labels. (broke by commit d9c2da912d3d)

  • Participants
  • Parent commits b936b5c
  • Branches default

Comments (0)

Files changed (1)

File sphinx/writers/texinfo.py

View file
         raise nodes.SkipNode
 
     def visit_seealso(self, node):
-        self.visit_topic(node)
+        self.body.append(u'\n\n@subsubheading %s\n\n' %
+                         admonitionlabels['seealso'])
     def depart_seealso(self, node):
-        self.depart_topic(node)
+        self.body.append('\n')
 
     def visit_meta(self, node):
         raise nodes.SkipNode