diff -r 7da76778dbd7 -r 78341ea65d16 doc/gendoc.py --- 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()