Mercurial > hg-stable
changeset 9792:dd1a95ccbe07
doc: use titlecase in man page section titles
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Sun, 08 Nov 2009 11:46:38 +0100 |
parents | 8bba9157b30a |
children | d2006e6d1d59 |
files | doc/gendoc.py doc/hg.1.txt doc/hgignore.5.txt doc/hgrc.5.txt |
diffstat | 4 files changed, 26 insertions(+), 26 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/gendoc.py Sun Nov 08 11:41:34 2009 +0100 +++ b/doc/gendoc.py Sun Nov 08 11:46:38 2009 +0100 @@ -61,12 +61,12 @@ ui.write("%s\n%s\n\n" % (s, '"' * encoding.colwidth(s))) # print options - section(_("OPTIONS")) + section(_("Options")) for optstr, desc in get_opts(globalopts): ui.write("%s\n %s\n\n" % (optstr, desc)) # print cmds - section(_("COMMANDS")) + section(_("Commands")) h = {} for c, attr in table.items(): f = c.split("|")[0] @@ -104,7 +104,7 @@ for name in names: ui.write(".. _%s:\n" % name) ui.write("\n") - section(sec.upper()) + section(sec) if callable(doc): doc = doc() ui.write(doc)
--- a/doc/hg.1.txt Sun Nov 08 11:41:34 2009 +0100 +++ b/doc/hg.1.txt Sun Nov 08 11:46:38 2009 +0100 @@ -16,16 +16,16 @@ :class: htmlonly -SYNOPSIS +Synopsis -------- **hg** *command* [*option*]... [*argument*]... -DESCRIPTION +Description ----------- The **hg** command provides a command line interface to the Mercurial system. -COMMAND ELEMENTS +Command Elements ---------------- files... @@ -46,7 +46,7 @@ .. include:: hg.1.gendoc.txt -FILES +Files ----- ``.hgignore`` @@ -70,20 +70,20 @@ if the ``.orig`` file already exists and is not tracked by Mercurial, it will be overwritten. -BUGS +Bugs ---- Probably lots, please post them to the mailing list (see Resources_ below) when you find them. -SEE ALSO +See Also -------- |hgignore(5)|_, |hgrc(5)|_ -AUTHOR +Author ------ Written by Matt Mackall <mpm@selenic.com> -RESOURCES +Resources --------- Main Web Site: http://mercurial.selenic.com/ @@ -91,7 +91,7 @@ Mailing list: http://selenic.com/mailman/listinfo/mercurial -COPYING +Copying ------- Copyright (C) 2005-2009 Matt Mackall. Free use of this software is granted under the terms of the GNU General
--- a/doc/hgignore.5.txt Sun Nov 08 11:41:34 2009 +0100 +++ b/doc/hgignore.5.txt Sun Nov 08 11:46:38 2009 +0100 @@ -11,14 +11,14 @@ :Manual section: 5 :Manual group: Mercurial Manual -SYNOPSIS +Synopsis -------- The Mercurial system uses a file called ``.hgignore`` in the root directory of a repository to control its behavior when it searches for files that it is not currently tracking. -DESCRIPTION +Description ----------- The working directory of a Mercurial repository will often contain @@ -45,7 +45,7 @@ To control Mercurial's handling of files that it manages, see the |hg(1)|_ man page. Look for the ``-I`` and ``-X`` options. -SYNTAX +Syntax ------ An ignore file is a plain text file consisting of a list of patterns, @@ -75,7 +75,7 @@ and a regexp pattern of the form ``\.c$`` will do the same. To root a regexp pattern, start it with ``^``. -EXAMPLE +Example ------- Here is an example ignore file. :: @@ -91,17 +91,17 @@ syntax: regexp ^\.pc/ -AUTHOR +Author ------ Vadim Gelfer <vadim.gelfer@gmail.com> Mercurial was written by Matt Mackall <mpm@selenic.com>. -SEE ALSO +See Also -------- |hg(1)|_, |hgrc(5)|_ -COPYING +Copying ------- This manual page is copyright 2006 Vadim Gelfer. Mercurial is copyright 2005-2009 Matt Mackall.
--- a/doc/hgrc.5.txt Sun Nov 08 11:41:34 2009 +0100 +++ b/doc/hgrc.5.txt Sun Nov 08 11:46:38 2009 +0100 @@ -16,13 +16,13 @@ :class: htmlonly -SYNOPSIS +Synopsis -------- The Mercurial system uses a set of configuration files to control aspects of its behavior. -FILES +Files ----- Mercurial reads configuration data from several files, if they exist. @@ -83,7 +83,7 @@ a ``Mercurial.ini`` file or be a directory where ``*.rc`` files will be read. -SYNTAX +Syntax ------ A configuration file consists of sections, led by a ``[section]`` header @@ -108,7 +108,7 @@ section, if it has been set previously. -SECTIONS +Sections -------- This section describes the different sections that may appear in a @@ -933,17 +933,17 @@ Where to find the HTML templates. Default is install path. -AUTHOR +Author ------ Bryan O'Sullivan <bos@serpentine.com>. Mercurial was written by Matt Mackall <mpm@selenic.com>. -SEE ALSO +See Also -------- |hg(1)|_, |hgignore(5)|_ -COPYING +Copying ------- This manual page is copyright 2005 Bryan O'Sullivan. Mercurial is copyright 2005-2009 Matt Mackall.