Merge pull request #6795 from tk0miya/6793_sidebar_in_texinfo

Fix #6793: texinfo: Code examples broken following "sidebar"
This commit is contained in:
Takeshi KOMIYA authored and GitHub committed 2019-11-17 01:09:18 +09:00
commit b6abb12b33
2 files changed
+2

No files matched your search

+1
View File
@@ -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
--------
+1
View File
@@ -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