diff options
Diffstat (limited to 'sphinx/ext')
-rw-r--r-- | sphinx/ext/autosummary/generate.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sphinx/ext/autosummary/generate.py b/sphinx/ext/autosummary/generate.py index 28a5f1fbf..d72c12529 100644 --- a/sphinx/ext/autosummary/generate.py +++ b/sphinx/ext/autosummary/generate.py @@ -59,6 +59,11 @@ class DummyApplication: self.registry = SphinxComponentRegistry() self.messagelog = [] # type: List[str] self.verbosity = 0 + self._warncount = 0 + self.warningiserror = False + + def emit_firstresult(self, *args) -> None: + pass def setup_documenters(app: Any) -> None: |