mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #6941 from tk0miya/6936_autogen_raises_AttributeError
Fix #6936: sphinx-autogen: raises AttributeError
This commit is contained in:
commit
960ca85fea
2
CHANGES
2
CHANGES
@ -16,6 +16,8 @@ Features added
|
||||
Bugs fixed
|
||||
----------
|
||||
|
||||
* #6936: sphinx-autogen: raises AttributeError
|
||||
|
||||
Testing
|
||||
--------
|
||||
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user