API: Auto Doc Index

This commit is contained in:
Sagi Dayan 2015-06-15 18:56:33 +03:00
parent 73d9a65dab
commit b5a63e64e0
2 changed files with 4 additions and 1 deletions

View file

@ -140,7 +140,7 @@ def send_activation(token):
@app.route('/api/help') @app.route('/api/help')
def documentation(): def documentation():
return auto.html() return app.send_static_file('API_Doc/api_doc_index.html')
# @app.route('/api/help/campuses') # @app.route('/api/help/campuses')
# def documentation(): # def documentation():

View file

@ -49,6 +49,9 @@
<nav> <nav>
<div class="nav-wrapper"> <div class="nav-wrapper">
<a href="#!" class="brand-logo center">SE-Hub API</a> <a href="#!" class="brand-logo center">SE-Hub API</a>
<ul id="nav-mobile" class="left hide-on-med-and-down">
<li><a href="/api/help">Home</a></li>
</ul>
</div> </div>
</nav> </nav>
</div> </div>