Merge branch '3.x' into papersize_for_latex_theme

This commit is contained in:
Takeshi KOMIYA
2020-04-12 16:13:57 +09:00
committed by GitHub
3 changed files with 4 additions and 1 deletions

View File

@@ -15,6 +15,8 @@ Features added
* LaTeX: Make the ``toplevel_sectioning`` setting optional in LaTeX theme
* LaTeX: Allow to override papersize and pointsize from LaTeX themes
* #7410: Allow to suppress "circular toctree references detected" warnings using
:confval:`suppress_warnings`
Bugs fixed
----------

View File

@@ -313,6 +313,7 @@ General configuration
* ``ref.doc``
* ``ref.python``
* ``misc.highlighting_failure``
* ``toc.circular``
* ``toc.secnum``
* ``epub.unknown_project_files``
* ``autosectionlabel.*``

View File

@@ -153,7 +153,7 @@ class TocTree:
logger.warning(__('circular toctree references '
'detected, ignoring: %s <- %s'),
ref, ' <- '.join(parents),
location=ref)
location=ref, type='toc', subtype='circular')
continue
refdoc = ref
toc = self.env.tocs[ref].deepcopy()