sapling/doc
2005-09-16 13:34:29 -07:00
..
hg.1.txt Update doc for ssh URL, describing path handling more clearly. 2005-09-16 13:34:29 -07:00
hgmerge.1.txt Add hgmerge manpage 2005-06-24 23:17:10 -08:00
hgrc.5.txt Add file encoding/decoding support 2005-09-15 02:59:16 -05:00
Makefile Generate html documentation by default, too. 2005-08-22 08:33:02 +02:00
README Clarify doc/README a bit 2005-06-23 17:51:03 -08:00

Mercurial's documentation is currently kept in ASCIIDOC format, which
is a simple plain text format that's easy to read and edit. It's also
convertible to a variety of other formats including standard UNIX man
page format and HTML.

To do this, you'll need to install ASCIIDOC:

 http://www.methods.co.nz/asciidoc/

To generate the man page:

 asciidoc -d manpage -b docbook hg.1.txt
 xmlto man hg.1.xml

To display:

 groff -mandoc -Tascii hg.1 | more

To create the html page (without stylesheets):

 asciidoc -b html hg.1.txt