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

Crístian Viana vianac at linux.vnet.ibm.com
Tue Feb 11 20:03:02 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 1e131b4..fad4510 100644
--- a/src/kimchi/server.py
+++ b/src/kimchi/server.py
@@ -118,6 +118,11 @@ class Server(object):
             'tools.staticfile.on': True,
             'tools.staticfile.filename': 'config/ui/tabs.xml',
             'tools.nocache.on': True
+        },
+        '/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