summaryrefslogtreecommitdiff
path: root/sphinx/writers/manpage.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2019-05-06 21:27:43 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2019-05-06 21:27:43 +0900
commitdc1c5fee702ec4537d31823cc87fc3bb13e00767 (patch)
tree612eba2690580267b6a70455fef00b6311225df2 /sphinx/writers/manpage.py
parenta9b3ec532276b7dc0ef35273177a1c6716796d73 (diff)
downloadsphinx-git-dc1c5fee702ec4537d31823cc87fc3bb13e00767.tar.gz
Fix #6331: man: invalid output when doctest follows rubric
Diffstat (limited to 'sphinx/writers/manpage.py')
-rw-r--r--sphinx/writers/manpage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/writers/manpage.py b/sphinx/writers/manpage.py
index 0856ee5ee..7811ccc5b 100644
--- a/sphinx/writers/manpage.py
+++ b/sphinx/writers/manpage.py
@@ -282,7 +282,7 @@ class ManualPageTranslator(SphinxTranslator, BaseTranslator):
def depart_rubric(self, node):
# type: (nodes.Element) -> None
- pass
+ self.body.append('\n')
def visit_seealso(self, node):
# type: (nodes.Element) -> None