sapling/doc
Vadim Gelfer 9504f432e5 add HGRCPATH env var, list of places to look for hgrc files.
if set, override default hgrc search path.
if empty, only .hg/hgrc of current repo read.

for each element, if directory, all entries in directory with end in
".rc" are added to path.  else, element is added to path.

big thing about this change is that user "~/.hgrc" and system hgrc not
longer breaks tests.  run-tests makes HGRCPATH empty now.
2006-03-14 21:40:46 -08:00
..
ja Fixed to convert to man properly. 2005-11-03 11:56:51 +09:00
gendoc.py generate hg manpage from commands.py docstring 2006-02-28 00:48:49 +01:00
hg.1.txt add HGRCPATH env var, list of places to look for hgrc files. 2006-03-14 21:40:46 -08:00
hgmerge.1.txt Fix copyright symbol in docs 2005-09-23 18:59:16 -07:00
hgrc.5.txt make --style=compact look for map-cmdline.compact. 2006-03-04 15:15:18 -08:00
Makefile make clean now removes generated documentation. 2006-03-10 20:06:41 +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