Mercurial > code > home > repos > homeauto
diff service/environment/environment.py @ 136:2200d6530a5d
testing rdfs:comment display on enironment's graph viewer
Ignore-this: d25c57b80a1dc4180b348d64f1546cd6
author | drewp@bigasterisk.com |
---|---|
date | Sun, 13 Oct 2013 12:03:26 -0700 |
parents | 86345d1d8514 |
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)