Mercurial > code > home > repos > homeauto
diff service/environment/environment.py @ 941:98311a863d7e
testing rdfs:comment display on enironment's graph viewer
Ignore-this: d25c57b80a1dc4180b348d64f1546cd6
darcs-hash:20131013190326-312f9-c5a6e278f572406e0aabf32447209c601711bc01
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Sun, 13 Oct 2013 12:03:26 -0700 |
parents | f2a2d0cc22b4 |
children | b5d6d9a6211f |
line wrap: on
line diff
--- a/service/environment/environment.py Sun Oct 13 00:25:03 2013 -0700 +++ b/service/environment/environment.py Sun Oct 13 12:03:26 2013 -0700 @@ -41,6 +41,8 @@ self.set_header('Content-type', 'application/x-trig') self.write(g.asTrig()) + +from rdfdoc import Doc class Application(cyclone.web.Application): def __init__(self): @@ -48,6 +50,7 @@ (r"/()", cyclone.web.StaticFileHandler, {"path": ".", "default_filename": "index.html"}), (r'/graph', GraphHandler), + (r'/doc', Doc), # to be shared ] cyclone.web.Application.__init__(self, handlers)