diff mercurial/templates/gitweb/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 32f76eccbced
line wrap: on
line diff
--- a/mercurial/templates/gitweb/help.tmpl	Sat Feb 09 21:51:21 2013 +0000
+++ b/mercurial/templates/gitweb/help.tmpl	Sat Feb 09 21:51:21 2013 +0000
@@ -27,8 +27,8 @@
 
 <div class="title">&nbsp;</div>
 
-<pre>
-{doc|escape}
-</pre>
+<div id="doc">
+{rstdoc(doc, "html")}
+</div>
 
 {footer}