mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix #6936: sphinx-autogen: raises AttributeError
This commit is contained in:
parent
0cc01a1606
commit
8a1994d940
2
CHANGES
2
CHANGES
@ -16,6 +16,8 @@ Features added
|
|||||||
Bugs fixed
|
Bugs fixed
|
||||||
----------
|
----------
|
||||||
|
|
||||||
|
* #6936: sphinx-autogen: raises AttributeError
|
||||||
|
|
||||||
Testing
|
Testing
|
||||||
--------
|
--------
|
||||||
|
|
||||||
|
@ -59,6 +59,11 @@ class DummyApplication:
|
|||||||
self.registry = SphinxComponentRegistry()
|
self.registry = SphinxComponentRegistry()
|
||||||
self.messagelog = [] # type: List[str]
|
self.messagelog = [] # type: List[str]
|
||||||
self.verbosity = 0
|
self.verbosity = 0
|
||||||
|
self._warncount = 0
|
||||||
|
self.warningiserror = False
|
||||||
|
|
||||||
|
def emit_firstresult(self, *args) -> None:
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
def setup_documenters(app: Any) -> None:
|
def setup_documenters(app: Any) -> None:
|
||||||
|
Loading…
Reference in New Issue
Block a user