From fd0711c19a5446f9bcb3031309c79612d1f201d8 Mon Sep 17 00:00:00 2001 From: SIMAILA Djalim Date: Mon, 16 Jan 2023 23:46:59 +0100 Subject: [PATCH] api docs --- truthinquiry/routes/routes_ui.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/truthinquiry/routes/routes_ui.py b/truthinquiry/routes/routes_ui.py index c32316d..a1410fe 100644 --- a/truthinquiry/routes/routes_ui.py +++ b/truthinquiry/routes/routes_ui.py @@ -22,6 +22,10 @@ def licenses(): def legal(): return flask.render_template("legal.html") +@routes_ui.route("/docs") +def doc(): + return flask.render_template("doc.html") + @routes_ui.route("/lobby") def lobbyRedirect(): return flask.redirect("/")