gendoc: add anchors for commands
Enables links into hg.1.html of the form: hg.1.html#command
#header#
<title>#repo|escape#: Search</title>
<link rel="alternate" type="application/atom+xml"
href="{url}atom-log" title="Atom feed for #repo|escape#"/>
<link rel="alternate" type="application/rss+xml"
href="{url}rss-log" title="RSS feed for #repo|escape#"/>
</head>
<body>
<div class="page_header">
<a href="http://www.selenic.com/mercurial/" title="Mercurial" style="float: right;">Mercurial</a><a href="{url}summary{sessionvars%urlparameter}">#repo|escape#</a> / search
<form action="{url}log">
{sessionvars%hiddenformentry}
<div class="search">
<input type="text" name="rev" value="#query|escape#" />
</div>
</form>
</div>
<div class="page_nav">
<a href="{url}summary{sessionvars%urlparameter}">summary</a> |
<a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> |
<a href="{url}log{sessionvars%urlparameter}">changelog</a> |
<a href="{url}tags{sessionvars%urlparameter}">tags</a> |
<a href="{url}file/#node|short#{sessionvars%urlparameter}">files</a>#archives%archiveentry#
<br/>
</div>
<div class="title">searching for #query|escape#</div>
#entries#
#footer#