API: Auto Doc Index
This commit is contained in:
parent
73d9a65dab
commit
b5a63e64e0
2 changed files with 4 additions and 1 deletions
|
@ -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():
|
||||
|
|
|
@ -49,6 +49,9 @@
|
|||
<nav>
|
||||
<div class="nav-wrapper">
|
||||
<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>
|
||||
</nav>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue