mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 08:18:15 +03:00
8c1c74a873
Before this patch, HTML/man pages generated by docutils don't show details of each command options, whether it should take argument or not for example, even though "hg help" does. This patch shows details of command options as same as "hg help" shows. This patch uses "--option <VALUE[+]>" style instead of "--option <VALUE> [+]" used in output of "hg help", because docutils requires that option argument strings starts with "<" and ends with ">". |
||
---|---|---|
.. | ||
check-seclevel.py | ||
gendoc.py | ||
hgmanpage.py | ||
Makefile | ||
README | ||
runrst | ||
style.css |
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. You'll need to install Docutils: http://docutils.sourceforge.net/ Use the Makefile in this directory to generate the man and HTML pages.