Mercurial > hg-stable
changeset 6612:59e087f99920
gendoc: add anchors for commands
Enables links into hg.1.html of the form: hg.1.html#command
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Wed, 23 Apr 2008 19:40:15 +0200 |
parents | bf2bf986ff87 |
children | 2f0522ce43b0 |
files | doc/gendoc.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/gendoc.py Mon May 12 11:37:56 2008 -0500 +++ b/doc/gendoc.py Wed Apr 23 19:40:15 2008 +0200 @@ -69,6 +69,7 @@ if f.startswith("debug"): continue d = get_cmd(h[f]) # synopsis + ui.write("[[%s]]\n" % d['cmd']) ui.write("%s::\n" % d['synopsis'].replace("hg ","", 1)) # description ui.write("%s\n\n" % d['desc'][1])