doc/gendoc.py
changeset 7012 78341ea65d16
parent 6654 2713e42dcf4e
child 7014 46456a51e247
--- a/doc/gendoc.py	Tue Sep 09 14:43:12 2008 +0200
+++ b/doc/gendoc.py	Tue Sep 09 21:32:39 2008 +0200
@@ -92,9 +92,7 @@
             ui.write(_("    aliases: %s\n\n") % " ".join(d['aliases']))
 
     # print topics
-    for t, doc in helptable:
-        l = t.split("|")
-        section = l[-1]
+    for names, section, doc in helptable:
         underlined(_(section).upper())
         if callable(doc):
             doc = doc()