mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #8323 from TheTripleV/patch-1
Linkcheck: Fix broken url not reporting error
This commit is contained in:
commit
2118ff1419
@ -226,6 +226,7 @@ class CheckExternalLinksBuilder(Builder):
|
||||
if rex.match(uri):
|
||||
return 'ignored', '', 0
|
||||
else:
|
||||
self.broken[uri] = ''
|
||||
return 'broken', '', 0
|
||||
elif uri in self.good:
|
||||
return 'working', 'old', 0
|
||||
|
Loading…
Reference in New Issue
Block a user