sapling/doc
Vadim Gelfer 5de8501662 fix some things people wanted to be cleaner.
rename --map-file to --style.
no more -t alias for --template.
update docs.
rename template entry in map files to changelog.
if --verbose, use changelog_verbose if there, else changelog.
2006-03-04 12:40:10 -08:00
..
ja Fixed to convert to man properly. 2005-11-03 11:56:51 +09:00
hg.1.txt fix some things people wanted to be cleaner. 2006-03-04 12:40:10 -08:00
hgmerge.1.txt Fix copyright symbol in docs 2005-09-23 18:59:16 -07:00
hgrc.5.txt let commands that show changesets use templates. 2006-02-27 13:18:57 -08:00
Makefile Fall back to asciidoc6 html backend if html4 doesn't work. 2006-02-03 10:54:58 +01: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