aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod/app.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2012-06-29 11:53:59 +1200
committerAldo Cortesi <aldo@nullcube.com>2012-06-29 11:53:59 +1200
commit654a84174adbb323423d4a5a0a9c3945df073610 (patch)
treeadf7858313c6ebf1563a4f11a644e047913c72c1 /libpathod/app.py
parent1b42f5ab1f3e22c760d155c7e3dea283032a517e (diff)
downloadmitmproxy-654a84174adbb323423d4a5a0a9c3945df073610.tar.gz
mitmproxy-654a84174adbb323423d4a5a0a9c3945df073610.tar.bz2
mitmproxy-654a84174adbb323423d4a5a0a9c3945df073610.zip
Move docs into pathod server.
Diffstat (limited to 'libpathod/app.py')
-rw-r--r--libpathod/app.py16
1 files changed, 13 insertions, 3 deletions
diff --git a/libpathod/app.py b/libpathod/app.py
index a4d6a0c5..fd742ce7 100644
--- a/libpathod/app.py
+++ b/libpathod/app.py
@@ -31,9 +31,19 @@ def index():
return render_template("index.html", section="main")
-@app.route('/help')
-def help():
- return render_template("help.html", section="help")
+@app.route('/docs/pathod')
+def docs_pathod():
+ return render_template("docs_pathod.html", section="docs")
+
+
+@app.route('/docs/pathoc')
+def docs_pathoc():
+ return render_template("docs_pathoc.html", section="docs")
+
+
+@app.route('/docs/test')
+def docs_test():
+ return render_template("docs_test.html", section="docs")
@app.route('/log')