Get the docs rendering in the app

This commit replaces the old _API Documentation_ page with the Markdown
version that Catherine has been working on.

I’ve checked that there’s nothing obviously wrong or placeholder-y still
in there, so I think we’re good to go.
This commit is contained in:
Chris Hill-Scott
2016-04-15 10:48:31 +01:00
parent 3c87af44ee
commit 57ad64fae6
4 changed files with 19 additions and 144 deletions

View File

@@ -6,11 +6,6 @@ from app import api_key_api_client
from app.utils import user_has_permissions
@main.route("/documentation")
def documentation():
return render_template('views/documentation.html')
@main.route("/services/<service_id>/api-keys")
@login_required
@user_has_permissions('manage_api_keys')