diff options
author | Jakob Lykke Andersen <Jakob@caput.dk> | 2020-05-17 13:32:38 +0300 |
---|---|---|
committer | Jakob Lykke Andersen <Jakob@caput.dk> | 2020-05-17 13:34:33 +0300 |
commit | ff7545a19163e78bdd2bfeb8e9d8832e4582196a (patch) | |
tree | d6c27623a6d9b2ee71e3e1345687e41e8a5c40b3 /sphinx/errors.py | |
parent | da88a8234d8b3fe21a9561a2dac9377b2883a09d (diff) |
Allow NoUri from 'missing-reference' handlers.
Also extend documentation of 'missing-reference'.
Diffstat (limited to 'sphinx/errors.py')
-rw-r--r-- | sphinx/errors.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sphinx/errors.py b/sphinx/errors.py index a9d027cb8..d9a83712c 100644 --- a/sphinx/errors.py +++ b/sphinx/errors.py @@ -116,7 +116,8 @@ class PycodeError(Exception): class NoUri(Exception): - """Raised by builder.get_relative_uri() if there is no URI available.""" + """Raised by builder.get_relative_uri() or from missing-reference handlers + if there is no URI available.""" pass |