Fix #6920: sphinx-build: A console message is wrongly highlighted

This commit is contained in:
Takeshi KOMIYA 2019-12-14 16:40:53 +09:00
parent be789b4e9c
commit 5e8da0fbcc
2 changed files with 2 additions and 1 deletions

View File

@ -85,6 +85,7 @@ Bugs fixed
(shows when :confval:`smartquotes` is ``False``)
* #6876: LaTeX: multi-line display of authors on title page has ragged edges
* #6887: Sphinx crashes with docutils-0.16b0
* #6920: sphinx-build: A console message is wrongly highlighted
Testing
--------

View File

@ -304,7 +304,7 @@ class Builder:
First updates the environment, and then calls :meth:`write`.
"""
if summary:
logger.info(bold(__('building [%s]') % self.name) + ': ' + summary)
logger.info(bold(__('building [%s]: ') % self.name) + summary)
# while reading, collect all warnings from docutils
with logging.pending_warnings():