forked from platypush/platypush
[Docs] Wrap generate_missing_docs
logic in auto_mocks
block.
It should be possible to synchronize the documented modules even on installations that don't have all the custom dependencies installed.
This commit is contained in:
parent
e24438980a
commit
debb4f6f36
1 changed files with 6 additions and 4 deletions
|
@ -11,6 +11,7 @@ from platypush.message.event import Event
|
||||||
from platypush.message.response import Response
|
from platypush.message.response import Response
|
||||||
from platypush.plugins import Plugin
|
from platypush.plugins import Plugin
|
||||||
from platypush.utils.manifest import Manifests
|
from platypush.utils.manifest import Manifests
|
||||||
|
from platypush.utils.mock import auto_mocks
|
||||||
|
|
||||||
|
|
||||||
def get_all_plugins():
|
def get_all_plugins():
|
||||||
|
@ -159,10 +160,11 @@ def generate_responses_doc():
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
generate_plugins_doc()
|
with auto_mocks():
|
||||||
generate_backends_doc()
|
generate_plugins_doc()
|
||||||
generate_events_doc()
|
generate_backends_doc()
|
||||||
generate_responses_doc()
|
generate_events_doc()
|
||||||
|
generate_responses_doc()
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
Loading…
Reference in a new issue