Don't check docs build consistency if an exception happened

This commit is contained in:
baldurk
2021-02-14 14:30:27 +00:00
parent b18a28f0f9
commit 321fbdefe9
+3
View File
@@ -409,6 +409,9 @@ def build_finished(app, exception):
from sphinx.domains.python import PythonDomain
from sphinx.errors import SphinxError
if exception is not None:
return
# Get list of documented/indexed python objects
pydomain = app.env.get_domain('py')
if not hasattr(pydomain, 'objects'):