mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix #6920: sphinx-build: A console message is wrongly highlighted
This commit is contained in:
parent
be789b4e9c
commit
5e8da0fbcc
1
CHANGES
1
CHANGES
@ -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
|
||||
--------
|
||||
|
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user