##// END OF EJS Templates
doc: use our own rst2man.py script (issue1746)...
doc: use our own rst2man.py script (issue1746) The rst2man tool has not yet been part of an official Docutils release, and it is not present in most distributions. This poses a problem for people who want to install Mercurial from source, or who want to create a Mercurial package for such a distribution -- how to specify the build-dependencies? By including the rst2man.py script with Mercurial people only need a normal Docutils installation in order to install Mercurial.

File last commit:

r9406:a4b76175 default
r9418:a82db54b default
Show More
README
19 lines | 676 B | text/plain | TextLexer
Mercurial's documentation is kept in reStructuredText format, which is
a simple plain text format that's easy to read and edit:
http://docutils.sourceforge.net/rst.html
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 the rst2html and rst2man tools,
which are part of Docutils:
http://docutils.sourceforge.net/
The rst2man tool is not yet in a stable Docutils release, you have to
install their snapshot, which is what they recommend you run anyway:
http://docutils.sourceforge.net/docutils-snapshot.tgz
Use the Makefile in this directory to generate the man and HTML pages.