mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-11-02 20:30:30 -06:00
Merge pull request #6795 from tk0miya/6793_sidebar_in_texinfo
Fix #6793: texinfo: Code examples broken following "sidebar"
This commit is contained in:
2 files changed
+2
No files matched your search
@@ -60,6 +60,7 @@ Bugs fixed
|
||||
code-block long enough not to fit on one page
|
||||
* #6809: LaTeX: code-block in a danger type admonition can easily spill over
|
||||
bottom of page
|
||||
* #6793: texinfo: Code examples broken following "sidebar"
|
||||
|
||||
Testing
|
||||
--------
|
||||
|
||||
@@ -1284,6 +1284,7 @@ class TexinfoTranslator(SphinxTranslator):
|
||||
title = cast(nodes.title, node[0])
|
||||
self.visit_rubric(title)
|
||||
self.body.append('%s\n' % self.escape(title.astext()))
|
||||
self.depart_rubric(title)
|
||||
|
||||
def depart_topic(self, node):
|
||||
# type: (nodes.Element) -> None
|
||||
|
||||
Reference in new issue
Block a user