diff options
| author | Vasista Vovveti <vasistavovveti@gmail.com> | 2020-10-20 12:43:10 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-20 12:43:10 -0500 |
| commit | 72985c250b55a9dc07141e9a110937df24b16373 (patch) | |
| tree | f1c00d31130d8356d9effc186073df5cd06e2fae | |
| parent | 3b1c48f3b64f55e023192850f8b3da0a188fd9d7 (diff) | |
| download | sphinx-git-72985c250b55a9dc07141e9a110937df24b16373.tar.gz | |
Fix broken url not reporting error
Some links are printed as broken but do not error out the build.
This issue appeared when include `tel:` links in our build.
| -rw-r--r-- | sphinx/builders/linkcheck.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sphinx/builders/linkcheck.py b/sphinx/builders/linkcheck.py index 9b54afc7c..7ea1259b7 100644 --- a/sphinx/builders/linkcheck.py +++ b/sphinx/builders/linkcheck.py @@ -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 |
