mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Improve Texinfo xref appearance in non Info output
This commit is contained in:
@@ -388,7 +388,7 @@ class TexinfoTranslator(nodes.NodeVisitor):
|
||||
if not name or ref == name:
|
||||
self.add_text('@pxref{%s}' % ref)
|
||||
else:
|
||||
self.add_text('@pxref{%s,%s}' % (ref, name))
|
||||
self.add_text('@pxref{%s,,%s}' % (ref, name))
|
||||
self.referenced_ids.add(ref)
|
||||
|
||||
## Visiting
|
||||
|
||||
Reference in New Issue
Block a user