Skip to content

Commit

Permalink
Merge pull request #1014 from sphinx-contrib/improve-verbose-print-si…
Browse files Browse the repository at this point in the history
…nglebuilder

singlebuilder: print newline after progress events in verbose mode
  • Loading branch information
jdknight authored Jul 8, 2024
2 parents f217fb7 + 6e84d57 commit 6238138
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sphinxcontrib/confluencebuilder/singlebuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ def write(self, build_docnames, updated_docnames, method='update'):
return

with progress_message(C('assembling single confluence document')):
if self.app.verbosity:
print()

# assemble toc section/figure numbers
#
# Both the environment's `toc_secnumbers` and `toc_fignumbers`
Expand Down Expand Up @@ -104,6 +107,9 @@ def write(self, build_docnames, updated_docnames, method='update'):
self.assets.process_document(doctree, self.config.root_doc)

with progress_message(C('writing single confluence document')):
if self.app.verbosity:
print()

self.write_doc_serialized(self.config.root_doc, doctree)
self.write_doc(self.config.root_doc, doctree)

Expand Down

0 comments on commit 6238138

Please sign in to comment.