diff --git a/.gitignore b/.gitignore index 7ee67dc8..19bf7c38 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,5 @@ pip-log.txt #Mr Developer .mr.developer.cfg + +doc/*.json diff --git a/yunohost.tac b/yunohost.tac index 656d6bd7..add42591 100755 --- a/yunohost.tac +++ b/yunohost.tac @@ -163,6 +163,9 @@ def main(): global action_dict global api + # Generate API doc + os.system('python ./generate_api_doc.py') + # Register API doc service api.register('ALL', '/api', api_doc)