M doc/Makefile +1 -0
@@ 27,6 27,7 @@ common.txt $(SOURCES) $(SOURCES:%.txt=%.
%.html: %.txt %.gendoc.txt common.txt
$(PYTHON) runrst html $(RSTARGS) --halt warning \
+ --strip-elements-with-class manonly \
--link-stylesheet --stylesheet-path style.css $*.txt $*.html
MANIFEST: man html
M mercurial/help/hg.1.txt +4 -0
@@ 45,6 45,10 @@ repository path
either the pathname of a local repository or the URI of a remote
repository.
+.. contents::
+ :class: manonly
+ :depth: 1
+
.. include:: hg.1.gendoc.txt
Files