summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2020-10-04 10:14:47 +0900
committerGitHub <noreply@github.com>2020-10-04 10:14:47 +0900
commit3d92c02c37d881152aa458937eb1fc2a7a9b09f1 (patch)
treec4437f301f9a7475c437e1b3261ea6599c505cf0
parent88b81a06eb635a1596617f8971fa97a84c069e93 (diff)
parentf0f90a5ce2bcd171f93720333eefa3e3c2bd9332 (diff)
downloadsphinx-git-3d92c02c37d881152aa458937eb1fc2a7a9b09f1.tar.gz
Merge pull request #8277 from shimizukawa/fix-build-progress-spacing
Fix: missing and redundant spacing (and etc) for console output on building
-rw-r--r--sphinx/builders/html/__init__.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/sphinx/builders/html/__init__.py b/sphinx/builders/html/__init__.py
index c30aa9cfd..beb650991 100644
--- a/sphinx/builders/html/__init__.py
+++ b/sphinx/builders/html/__init__.py
@@ -641,17 +641,17 @@ class StandaloneHTMLBuilder(Builder):
def gen_additional_pages(self) -> None:
# additional pages from conf.py
for pagename, template in self.config.html_additional_pages.items():
- logger.info(' ' + pagename, nonl=True)
+ logger.info(pagename + ' ', nonl=True)
self.handle_page(pagename, {}, template)
# the search page
if self.search:
- logger.info(' search', nonl=True)
+ logger.info('search ', nonl=True)
self.handle_page('search', {}, 'search.html')
# the opensearch xml file
if self.config.html_use_opensearch and self.search:
- logger.info(' opensearch', nonl=True)
+ logger.info('opensearch ', nonl=True)
fn = path.join(self.outdir, '_static', 'opensearch.xml')
self.handle_page('opensearch', {}, 'opensearch.xml', outfilename=fn)
@@ -669,7 +669,7 @@ class StandaloneHTMLBuilder(Builder):
'genindexcounts': indexcounts,
'split_index': self.config.html_split_index,
}
- logger.info(' genindex', nonl=True)
+ logger.info('genindex ', nonl=True)
if self.config.html_split_index:
self.handle_page('genindex', genindexcontext,
@@ -691,7 +691,7 @@ class StandaloneHTMLBuilder(Builder):
'content': content,
'collapse_index': collapse,
}
- logger.info(' ' + indexname, nonl=True)
+ logger.info(indexname + ' ', nonl=True)
self.handle_page(indexname, indexcontext, 'domainindex.html')
def copy_image_files(self) -> None:
@@ -785,7 +785,7 @@ class StandaloneHTMLBuilder(Builder):
def copy_static_files(self) -> None:
try:
- with progress_message(__('copying static files... ')):
+ with progress_message(__('copying static files')):
ensuredir(path.join(self.outdir, '_static'))
# prepare context for templates