From: Joerg Jaspert Date: Sun, 14 Dec 2014 14:08:49 +0000 (+0100) Subject: Make list_paths use the epydoc html for api docs X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=4a4ada05f05875e9b420ba211caf44dd92849ad7;p=dak.git Make list_paths use the epydoc html for api docs --- diff --git a/dakweb/dakwebserver.py b/dakweb/dakwebserver.py index 0f70d72b..c4f3f58e 100755 --- a/dakweb/dakwebserver.py +++ b/dakweb/dakwebserver.py @@ -26,7 +26,7 @@ QueryRegister().register_path('/', root_path) @bottle.route('/list_paths') def list_paths(): """Returns a list of available paths""" - return json.dumps(QueryRegister().get_paths()) + redirect("https://ftp-master.debian.org/epydoc/toc-dakweb-module.html") QueryRegister().register_path('/list_paths', list_paths)