doc: add TOC to hg.1.html and hgrc.5.html

This commit is contained in:
Martin Geisler 2009-09-04 22:26:57 +02:00
parent ebde959a47
commit 8de4494620
3 changed files with 9 additions and 1 deletions

View File

@ -20,7 +20,7 @@ hg.1.gendoc.txt: gendoc.py ../mercurial/commands.py ../mercurial/help.py
${PYTHON} gendoc.py > $@
%: %.txt common.txt
$(PYTHON) rst2man.py $*.txt > $*
$(PYTHON) rst2man.py --strip-elements-with-class htmlonly $*.txt > $*
%.html: %.txt common.txt
$(RST2HTML) $*.txt > $*.html

View File

@ -11,6 +11,10 @@ Mercurial source code management system
:Manual section: 1
:Manual group: Mercurial Manual
.. contents::
:backlinks: top
:class: htmlonly
SYNOPSIS
--------

View File

@ -11,6 +11,10 @@ configuration files for Mercurial
:Manual section: 5
:Manual group: Mercurial Manual
.. contents::
:backlinks: top
:class: htmlonly
SYNOPSIS
--------