mirror of
https://github.com/facebook/sapling.git
synced 2024-10-12 17:58:27 +03:00
415f3fd88c
Summary: The script tries to extract docstrings of all extensions. It failed to do so because the extension directory was moved. Fix it by using the default path to import extensions. Note: this was half broken before the `edenscm` move because the extensions cannot be imported correctly so every extension fall backs to "None" in their help text. This diff fixes that so `man hg` would actually include actual extension helps. However, some extensions have ill-formatted rst docstrings. They are fixed in the next diff. Reviewed By: singhsrb Differential Revision: D13885567 fbshipit-source-id: 0aba1bc4b0f09fbd8e55d9c8e6ff2587ff6be3f7 |
||
---|---|---|
.. | ||
fb-hgext | ||
hggit | ||
hgsql | ||
hgsubversion | ||
remotenames | ||
check-seclevel.py | ||
docchecker | ||
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.