Merge pull request #8804 from tk0miya/8791_linkcheck_docname_isnt_shown

linkcheck: The docname of hyperlink is not displayed (refs: #8791)
This commit is contained in:
Takeshi KOMIYA 2021-02-02 23:09:03 +09:00 committed by GitHub
commit 1cf915f7dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -96,6 +96,7 @@ Bugs fixed
footnote reference
* #4304: linkcheck: Fix race condition that could lead to checking the
availability of the same URL twice
* #8791: linkcheck: The docname for each hyperlink is not displayed
* #7118: sphinx-quickstart: questionare got Mojibake if libreadline unavailable
* #8094: texinfo: image files on the different directory with document are not
copied

View File

@ -390,7 +390,7 @@ class CheckExternalLinksBuilder(DummyBuilder):
self.write_linkstat(linkstat)
return
if lineno:
logger.info('(line %4d) ', lineno, nonl=True)
logger.info('(%16s: line %4d) ', docname, lineno, nonl=True)
if status == 'ignored':
if info:
logger.info(darkgray('-ignored- ') + uri + ': ' + info)