##// END OF EJS Templates
gendoc: add subsection for each command
Martin Geisler -
r12777:a19db59e default
parent child Browse files
Show More
@@ -99,8 +99,8 b' def commandprinter(ui, cmdtable):'
99 if f.startswith("debug"):
99 if f.startswith("debug"):
100 continue
100 continue
101 d = get_cmd(h[f], cmdtable)
101 d = get_cmd(h[f], cmdtable)
102 subsection(ui, d['cmd'])
102 # synopsis
103 # synopsis
103 ui.write(".. _%s:\n\n" % d['cmd'])
104 ui.write("``%s``\n" % d['synopsis'].replace("hg ","", 1))
104 ui.write("``%s``\n" % d['synopsis'].replace("hg ","", 1))
105 # description
105 # description
106 ui.write("%s\n\n" % d['desc'][1])
106 ui.write("%s\n\n" % d['desc'][1])
General Comments 0
You need to be logged in to leave comments. Login now