sapling/doc
Eric Bloodworth 7242221f63 Change asciidoc backend to more recent name.
The latest asciidoc doesn't have an 'html' backend. 'html' was last valid
with version 6 ( 2005-1-28).  Current options are  xhtml11, or
html4, with xhtml11 by default.
2005-10-24 14:54:34 -07:00
..
hg.1.txt Fix copyright symbol in docs 2005-09-23 18:59:16 -07:00
hgmerge.1.txt Fix copyright symbol in docs 2005-09-23 18:59:16 -07:00
hgrc.5.txt Hook fixups 2005-09-22 10:12:42 -07:00
Makefile Change asciidoc backend to more recent name. 2005-10-24 14:54:34 -07: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