sapling/doc/README

22 lines
529 B
Plaintext
Raw Normal View History

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.
2005-05-27 18:16:58 +04:00
To do this, you'll need to install ASCIIDOC:
2005-05-27 18:16:58 +04:00
http://www.methods.co.nz/asciidoc/
2005-05-27 18:16:58 +04:00
To generate the man page:
2005-05-27 18:16:58 +04:00
asciidoc -d manpage -b docbook hg.1.txt
xmlto man hg.1.xml
2005-05-27 18:16:58 +04:00
To display:
2005-05-27 18:16:58 +04:00
groff -mandoc -Tascii hg.1 | more
2005-05-27 18:16:58 +04:00
To create the html page (without stylesheets):
2005-05-27 18:16:58 +04:00
asciidoc -b html hg.1.txt