mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Be precise about which document is missing.
This commit is contained in:
parent
2e8dea1a3d
commit
11558aba8b
@ -138,7 +138,7 @@ class LaTeXBuilder(Builder):
|
||||
|
||||
def get_target_uri(self, docname: str, typ: str = None) -> str:
|
||||
if docname not in self.docnames:
|
||||
raise NoUri
|
||||
raise NoUri(docname)
|
||||
else:
|
||||
return '%' + docname
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user