From ff7545a19163e78bdd2bfeb8e9d8832e4582196a Mon Sep 17 00:00:00 2001 From: Jakob Lykke Andersen Date: Sun, 17 May 2020 12:32:38 +0200 Subject: Allow NoUri from 'missing-reference' handlers. Also extend documentation of 'missing-reference'. --- sphinx/errors.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sphinx/errors.py') 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 -- cgit v1.2.1