From 2a55d7f89871e8f09c9c67a3bfd2086a39b995ca Mon Sep 17 00:00:00 2001 From: Sagi Dayan Date: Thu, 25 Jun 2015 20:45:43 +0300 Subject: [PATCH] API Doc Fix --- SE_API/API.py | 8 ++++---- templates/API_Doc/api_doc_index.html | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/SE_API/API.py b/SE_API/API.py index 136e6b0..25e2045 100644 --- a/SE_API/API.py +++ b/SE_API/API.py @@ -137,12 +137,12 @@ def send_activation(token): return Response(status=200) @app.route('/api/help') -def documentation(): +def documentation_index(): return app.send_static_file('API_Doc/api_doc_index.html') -# @app.route('/api/help/campuses') -# def documentation(): -# return auto.html() +@app.route('/api/help/misc') +def documentation_misc(): + return auto.html() @app.route('/home') def returnHome(): diff --git a/templates/API_Doc/api_doc_index.html b/templates/API_Doc/api_doc_index.html index ff55e84..a1077de 100644 --- a/templates/API_Doc/api_doc_index.html +++ b/templates/API_Doc/api_doc_index.html @@ -63,6 +63,7 @@
  • Projects Related API
  • Tasks Related API
  • Validation Related API
  • +
  • Miscellaneous Methods