##// END OF EJS Templates
doc: use titlecase in man page section titles
Martin Geisler -
r9792:dd1a95cc default
parent child Browse files
Show More
@@ -61,12 +61,12 b' def show_doc(ui):'
61 61 ui.write("%s\n%s\n\n" % (s, '"' * encoding.colwidth(s)))
62 62
63 63 # print options
64 section(_("OPTIONS"))
64 section(_("Options"))
65 65 for optstr, desc in get_opts(globalopts):
66 66 ui.write("%s\n %s\n\n" % (optstr, desc))
67 67
68 68 # print cmds
69 section(_("COMMANDS"))
69 section(_("Commands"))
70 70 h = {}
71 71 for c, attr in table.items():
72 72 f = c.split("|")[0]
@@ -104,7 +104,7 b' def show_doc(ui):'
104 104 for name in names:
105 105 ui.write(".. _%s:\n" % name)
106 106 ui.write("\n")
107 section(sec.upper())
107 section(sec)
108 108 if callable(doc):
109 109 doc = doc()
110 110 ui.write(doc)
@@ -16,16 +16,16 b' Mercurial source code management system'
16 16 :class: htmlonly
17 17
18 18
19 SYNOPSIS
19 Synopsis
20 20 --------
21 21 **hg** *command* [*option*]... [*argument*]...
22 22
23 DESCRIPTION
23 Description
24 24 -----------
25 25 The **hg** command provides a command line interface to the Mercurial
26 26 system.
27 27
28 COMMAND ELEMENTS
28 Command Elements
29 29 ----------------
30 30
31 31 files...
@@ -46,7 +46,7 b' repository path'
46 46
47 47 .. include:: hg.1.gendoc.txt
48 48
49 FILES
49 Files
50 50 -----
51 51
52 52 ``.hgignore``
@@ -70,20 +70,20 b' Some commands (e.g. revert) produce back'
70 70 if the ``.orig`` file already exists and is not tracked by Mercurial,
71 71 it will be overwritten.
72 72
73 BUGS
73 Bugs
74 74 ----
75 75 Probably lots, please post them to the mailing list (see Resources_
76 76 below) when you find them.
77 77
78 SEE ALSO
78 See Also
79 79 --------
80 80 |hgignore(5)|_, |hgrc(5)|_
81 81
82 AUTHOR
82 Author
83 83 ------
84 84 Written by Matt Mackall <mpm@selenic.com>
85 85
86 RESOURCES
86 Resources
87 87 ---------
88 88 Main Web Site: http://mercurial.selenic.com/
89 89
@@ -91,7 +91,7 b' Source code repository: http://selenic.c'
91 91
92 92 Mailing list: http://selenic.com/mailman/listinfo/mercurial
93 93
94 COPYING
94 Copying
95 95 -------
96 96 Copyright (C) 2005-2009 Matt Mackall.
97 97 Free use of this software is granted under the terms of the GNU General
@@ -11,14 +11,14 b' syntax for Mercurial ignore files'
11 11 :Manual section: 5
12 12 :Manual group: Mercurial Manual
13 13
14 SYNOPSIS
14 Synopsis
15 15 --------
16 16
17 17 The Mercurial system uses a file called ``.hgignore`` in the root
18 18 directory of a repository to control its behavior when it searches
19 19 for files that it is not currently tracking.
20 20
21 DESCRIPTION
21 Description
22 22 -----------
23 23
24 24 The working directory of a Mercurial repository will often contain
@@ -45,7 +45,7 b' of how to configure these files. Look fo'
45 45 To control Mercurial's handling of files that it manages, see the
46 46 |hg(1)|_ man page. Look for the ``-I`` and ``-X`` options.
47 47
48 SYNTAX
48 Syntax
49 49 ------
50 50
51 51 An ignore file is a plain text file consisting of a list of patterns,
@@ -75,7 +75,7 b' the form ``*.c`` will match a file endin'
75 75 and a regexp pattern of the form ``\.c$`` will do the same. To root a
76 76 regexp pattern, start it with ``^``.
77 77
78 EXAMPLE
78 Example
79 79 -------
80 80
81 81 Here is an example ignore file. ::
@@ -91,17 +91,17 b' Here is an example ignore file. ::'
91 91 syntax: regexp
92 92 ^\.pc/
93 93
94 AUTHOR
94 Author
95 95 ------
96 96 Vadim Gelfer <vadim.gelfer@gmail.com>
97 97
98 98 Mercurial was written by Matt Mackall <mpm@selenic.com>.
99 99
100 SEE ALSO
100 See Also
101 101 --------
102 102 |hg(1)|_, |hgrc(5)|_
103 103
104 COPYING
104 Copying
105 105 -------
106 106 This manual page is copyright 2006 Vadim Gelfer.
107 107 Mercurial is copyright 2005-2009 Matt Mackall.
@@ -16,13 +16,13 b' configuration files for Mercurial'
16 16 :class: htmlonly
17 17
18 18
19 SYNOPSIS
19 Synopsis
20 20 --------
21 21
22 22 The Mercurial system uses a set of configuration files to control
23 23 aspects of its behavior.
24 24
25 FILES
25 Files
26 26 -----
27 27
28 28 Mercurial reads configuration data from several files, if they exist.
@@ -83,7 +83,7 b' ones.'
83 83 a ``Mercurial.ini`` file or be a directory where ``*.rc`` files will
84 84 be read.
85 85
86 SYNTAX
86 Syntax
87 87 ------
88 88
89 89 A configuration file consists of sections, led by a ``[section]`` header
@@ -108,7 +108,7 b' A line with ``%unset name`` will remove '
108 108 section, if it has been set previously.
109 109
110 110
111 SECTIONS
111 Sections
112 112 --------
113 113
114 114 This section describes the different sections that may appear in a
@@ -933,17 +933,17 b' Web interface configuration.'
933 933 Where to find the HTML templates. Default is install path.
934 934
935 935
936 AUTHOR
936 Author
937 937 ------
938 938 Bryan O'Sullivan <bos@serpentine.com>.
939 939
940 940 Mercurial was written by Matt Mackall <mpm@selenic.com>.
941 941
942 SEE ALSO
942 See Also
943 943 --------
944 944 |hg(1)|_, |hgignore(5)|_
945 945
946 COPYING
946 Copying
947 947 -------
948 948 This manual page is copyright 2005 Bryan O'Sullivan.
949 949 Mercurial is copyright 2005-2009 Matt Mackall.
General Comments 0
You need to be logged in to leave comments. Login now