From b5a63e64e0f840a238a806fba4661af3a188f7a5 Mon Sep 17 00:00:00 2001 From: Sagi Dayan Date: Mon, 15 Jun 2015 18:56:33 +0300 Subject: [PATCH] API: Auto Doc Index --- SE_API/API.py | 2 +- lib/flask_autodoc/templates/autodoc_default.html | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/SE_API/API.py b/SE_API/API.py index f83e020..a1ad212 100644 --- a/SE_API/API.py +++ b/SE_API/API.py @@ -140,7 +140,7 @@ def send_activation(token): @app.route('/api/help') def documentation(): - return auto.html() + return app.send_static_file('API_Doc/api_doc_index.html') # @app.route('/api/help/campuses') # def documentation(): diff --git a/lib/flask_autodoc/templates/autodoc_default.html b/lib/flask_autodoc/templates/autodoc_default.html index 0d9b490..a512bd9 100644 --- a/lib/flask_autodoc/templates/autodoc_default.html +++ b/lib/flask_autodoc/templates/autodoc_default.html @@ -49,6 +49,9 @@