sapling/doc
FUJIWARA Katsunori 0cf97588a4 doc: unify section level between help topics
Some help topics use "-" for the top level underlining section mark,
but "-" is used also for the top level categorization in generated
documents: "hg.1.html", for example.

So, TOC in such documents contain "sections in each topics", too.

This patch changes underlining section mark in some help topics to
unify section level in generated documents.

After this patching, levels of each section marks are:

  level0
  """"""
    level1
    ======
      level2
      ------
        level3
        ......
          level4
          ######

And use of section markers in each documents are:

  - mercurial/help/*.txt can use level1 or more
    (now these use level1 and level2)

  - help for core commands can use level2 or more
    (now these use no section marker)

  - descriptions of extensions can use level2 or more
    (now hgext/acl uses level2)

  - help for commands defined in extension can use level4 or more
    (now "convert" of hgext/convert uses level4)

"Level0" is used as top level categorization only in "doc/hg.1.txt"
and the intermediate file generated by "doc/gendoc.py", so end users
don't see it in "hg help" outoput and so on.
2012-07-25 16:40:38 +09:00
..
common.txt doc: link man pages to one another 2009-07-16 23:25:26 +02:00
gendoc.py doc: unify section level between help topics 2012-07-25 16:40:38 +09:00
hg.1.txt doc: unify section level between help topics 2012-07-25 16:40:38 +09:00
hgignore.5.txt doc: unify section level between help topics 2012-07-25 16:40:38 +09:00
hgmanpage.py cleanup: "not x in y" -> "x not in y" 2012-05-12 16:00:57 +02:00
hgrc.5.txt doc: unify section level between help topics 2012-07-25 16:40:38 +09:00
Makefile doc: rebuild hgrc.5 man and HTML page when help/config changes 2011-05-30 11:14:31 +02:00
README doc/README: simplify instructions 2009-09-03 21:40:45 +02:00
runrst runrst: improve error message when Docutils is missing 2011-10-20 17:47:33 +02:00
style.css gendoc: added styling for extension TOC 2010-10-20 17:47:46 +02:00

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.