diff mercurial/templates/monoblue/help.tmpl @ 18747:f5db3092790f

hgweb: generate HTML documentation It's generated from the raw ReST source, as returned from help.help_().
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Sat, 09 Feb 2013 21:51:21 +0000
parents 9409aeaafdc1
children 3fc86f1c39d8
line wrap: on
line diff
--- a/mercurial/templates/monoblue/help.tmpl	Sat Feb 09 21:51:21 2013 +0000
+++ b/mercurial/templates/monoblue/help.tmpl	Sat Feb 09 21:51:21 2013 +0000
@@ -31,8 +31,8 @@
     </div>
 
     <h2 class="no-link no-border">branches</h2>
-    <pre>
-    {doc|escape}
-    </pre>
+    <div id="doc">
+    {rstdoc(doc, "html")}
+    </div>
 
 {footer}