web/views/wdoc.py
changeset 3890 d7a270f50f54
parent 3733 c3feb6a33f58
parent 3818 9522e51d8644
child 4004 c52619c738a5
--- a/web/views/wdoc.py	Sun Nov 08 21:53:18 2009 +0100
+++ b/web/views/wdoc.py	Fri Nov 20 19:35:54 2009 +0100
@@ -237,6 +237,17 @@
         self.w(rest_publish(self, '\n'.join(restdata)))
 
 
+class HelpAction(action.Action):
+    id = 'help'
+    __select__ = yes()
+
+    category = 'footer'
+    order = 0
+    title = _('Help')
+
+    def url(self):
+        return self.req.build_url('doc/main')
+
 class ChangeLogAction(action.Action):
     __regid__ = 'changelog'
     __select__ = yes()