mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-09-03 20:52:55 -05:00
Merge branch '3.x' into fix_bool_issue
This commit is contained in:
@@ -77,6 +77,7 @@ Bugs fixed
|
||||
accommodate infinite redirect loops on HEAD
|
||||
* #8437: Makefile: ``make clean`` with empty BUILDDIR is dangerous
|
||||
* #8352: std domain: Failed to parse an option that starts with bracket
|
||||
* #8519: LaTeX: Prevent page brake in the middle of a seealso
|
||||
* #8522: fix ``__bool__`` method could be called by autodoc module.
|
||||
|
||||
Testing
|
||||
|
||||
@@ -815,7 +815,8 @@ class LaTeXTranslator(SphinxTranslator):
|
||||
pass
|
||||
|
||||
def visit_seealso(self, node: Element) -> None:
|
||||
self.body.append('\n\n\\sphinxstrong{%s:}\n\n' % admonitionlabels['seealso'])
|
||||
self.body.append('\n\n\\sphinxstrong{%s:}\n\\nopagebreak\n\n'
|
||||
% admonitionlabels['seealso'])
|
||||
|
||||
def depart_seealso(self, node: Element) -> None:
|
||||
self.body.append("\n\n")
|
||||
|
||||
Reference in New Issue
Block a user