[Kimchi-devel] [PATCH 3/4] doc: Export the help pages to cherrypy

Crístian Viana vianac at linux.vnet.ibm.com
Mon Feb 17 05:43:10 UTC 2014


The new DITA help pages will be exported to cherrypy under the URL
"help/". For example, the help page "kimhstor.html" can be acessed in a
local Kimchi installation at "http://localhost:8000/help/kimhstor.html".

Signed-off-by: Crístian Viana <vianac at linux.vnet.ibm.com>
---
 src/kimchi/server.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/kimchi/server.py b/src/kimchi/server.py
index d3ca617..6dd0404 100644
--- a/src/kimchi/server.py
+++ b/src/kimchi/server.py
@@ -122,6 +122,11 @@ class Server(object):
         '/favicon.ico': {
             'tools.staticfile.on': True,
             'tools.staticfile.filename': '%s/images/logo.ico' % paths.ui_dir
+        },
+        '/help': {
+            'tools.staticdir.on': True,
+            'tools.staticdir.dir': 'ui/pages/help',
+            'tools.nocache.on': False
         }
     }
 
-- 
1.8.5.3




More information about the Kimchi-devel mailing list