Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Lykke Andersen <Jakob@caput.dk>2020-05-17 13:32:38 +0300
committerJakob Lykke Andersen <Jakob@caput.dk>2020-05-17 13:34:33 +0300
commitff7545a19163e78bdd2bfeb8e9d8832e4582196a (patch)
treed6c27623a6d9b2ee71e3e1345687e41e8a5c40b3 /sphinx/errors.py
parentda88a8234d8b3fe21a9561a2dac9377b2883a09d (diff)
Allow NoUri from 'missing-reference' handlers.
Also extend documentation of 'missing-reference'.
Diffstat (limited to 'sphinx/errors.py')
-rw-r--r--sphinx/errors.py3
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