From c6143ead4ecef7033cb25a611593c758d8a47423 Mon Sep 17 00:00:00 2001 From: Kload Date: Wed, 3 Jul 2013 12:28:18 +0000 Subject: [PATCH] Generate doc at API launch --- .gitignore | 2 ++ yunohost.tac | 3 +++ 2 files changed, 5 insertions(+) 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)