##// END OF EJS Templates
doc: link man pages to one another
Martin Geisler -
r9162:2399362b default
parent child Browse files
Show More
@@ -0,0 +1,8 b''
1 .. Common link and substitution definitions.
2
3 .. |hg(1)| replace:: **hg**\ (1)
4 .. _hg(1): hg.1.html
5 .. |hgrc(5)| replace:: **hgrc**\ (5)
6 .. _hgrc(5): hgrc.5.html
7 .. |hgignore(5)| replace:: **hgignore**\ (5)
8 .. _hgignore(5): hgignore.5.html
@@ -20,14 +20,14 b' hg.1.txt: hg.1.gendoc.txt'
20 hg.1.gendoc.txt: gendoc.py ../mercurial/commands.py ../mercurial/help.py
20 hg.1.gendoc.txt: gendoc.py ../mercurial/commands.py ../mercurial/help.py
21 ${PYTHON} gendoc.py > $@
21 ${PYTHON} gendoc.py > $@
22
22
23 %: %.txt
23 %: %.txt common.txt
24 # add newline after all literal blocks and fix backslash escape
24 # add newline after all literal blocks and fix backslash escape
25 $(RST2MAN) $*.txt \
25 $(RST2MAN) $*.txt \
26 | sed -e 's/^\.fi$$/.fi\n/' \
26 | sed -e 's/^\.fi$$/.fi\n/' \
27 | sed -e 's/\\fB\\\\fP/\\fB\\e\\fP/' \
27 | sed -e 's/\\fB\\\\fP/\\fB\\e\\fP/' \
28 > $*
28 > $*
29
29
30 %.html: %.txt
30 %.html: %.txt common.txt
31 $(RST2HTML) $*.txt > $*.html
31 $(RST2HTML) $*.txt > $*.html
32
32
33 MANIFEST: man html
33 MANIFEST: man html
@@ -48,7 +48,7 b' FILES'
48 ``.hgignore``
48 ``.hgignore``
49 This file contains regular expressions (one per line) that
49 This file contains regular expressions (one per line) that
50 describe file names that should be ignored by **hg**. For details,
50 describe file names that should be ignored by **hg**. For details,
51 see *hgignore(5)*.
51 see |hgignore(5)|_.
52
52
53 ``.hgtags``
53 ``.hgtags``
54 This file contains changeset hash values and text tag names (one
54 This file contains changeset hash values and text tag names (one
@@ -59,7 +59,7 b' FILES'
59 This file contains defaults and configuration. Values in
59 This file contains defaults and configuration. Values in
60 ``.hg/hgrc`` override those in ``$HOME/.hgrc``, and these override
60 ``.hg/hgrc`` override those in ``$HOME/.hgrc``, and these override
61 settings made in the global ``/etc/mercurial/hgrc`` configuration.
61 settings made in the global ``/etc/mercurial/hgrc`` configuration.
62 See *hgrc(5)* for details of the contents and format of these
62 See |hgrc(5)|_ for details of the contents and format of these
63 files.
63 files.
64
64
65 Some commands (e.g. revert) produce backup files ending in ``.orig``,
65 Some commands (e.g. revert) produce backup files ending in ``.orig``,
@@ -73,7 +73,7 b' below) when you find them.'
73
73
74 SEE ALSO
74 SEE ALSO
75 --------
75 --------
76 *hgignore(5)*, *hgrc(5)*
76 |hgignore(5)|_, |hgrc(5)|_
77
77
78 AUTHOR
78 AUTHOR
79 ------
79 ------
@@ -92,3 +92,5 b' COPYING'
92 Copyright \(C) 2005-2009 Matt Mackall.
92 Copyright \(C) 2005-2009 Matt Mackall.
93 Free use of this software is granted under the terms of the GNU General
93 Free use of this software is granted under the terms of the GNU General
94 Public License (GPL).
94 Public License (GPL).
95
96 .. include:: common.txt
@@ -30,12 +30,12 b' For example, say we have an an untracked'
30 if any pattern in ``.hgignore`` matches ``a/b/file.c``, ``a/b`` or ``a``.
30 if any pattern in ``.hgignore`` matches ``a/b/file.c``, ``a/b`` or ``a``.
31
31
32 In addition, a Mercurial configuration file can reference a set of
32 In addition, a Mercurial configuration file can reference a set of
33 per-user or global ignore files. See the hgrc(5) man page for details
33 per-user or global ignore files. See the |hgrc(5)|_ man page for details
34 of how to configure these files. Look for the "ignore" entry in the
34 of how to configure these files. Look for the "ignore" entry in the
35 "ui" section.
35 "ui" section.
36
36
37 To control Mercurial's handling of files that it manages, see the
37 To control Mercurial's handling of files that it manages, see the
38 hg(1) man page. Look for the "-I" and "-X" options.
38 |hg(1)|_ man page. Look for the "-I" and "-X" options.
39
39
40 SYNTAX
40 SYNTAX
41 ------
41 ------
@@ -91,7 +91,7 b' Mercurial was written by Matt Mackall <m'
91
91
92 SEE ALSO
92 SEE ALSO
93 --------
93 --------
94 hg(1), hgrc(5)
94 |hg(1)|_, |hgrc(5)|_
95
95
96 COPYING
96 COPYING
97 -------
97 -------
@@ -99,3 +99,5 b' This manual page is copyright 2006 Vadim'
99 Mercurial is copyright 2005-2009 Matt Mackall.
99 Mercurial is copyright 2005-2009 Matt Mackall.
100 Free use of this software is granted under the terms of the GNU General
100 Free use of this software is granted under the terms of the GNU General
101 Public License (GPL).
101 Public License (GPL).
102
103 .. include:: common.txt
@@ -743,7 +743,7 b' User interface controls.'
743 option supports hook syntax, so if you want to specify multiple
743 option supports hook syntax, so if you want to specify multiple
744 ignore files, you can do so by setting something like
744 ignore files, you can do so by setting something like
745 "``ignore.other = ~/.hgignore2``". For details of the ignore file
745 "``ignore.other = ~/.hgignore2``". For details of the ignore file
746 format, see the hgignore(5) man page.
746 format, see the |hgignore(5)|_ man page.
747 ``interactive``
747 ``interactive``
748 Allow to prompt the user. True or False. Default is True.
748 Allow to prompt the user. True or False. Default is True.
749 ``logtemplate``
749 ``logtemplate``
@@ -922,7 +922,7 b' Mercurial was written by Matt Mackall <m'
922
922
923 SEE ALSO
923 SEE ALSO
924 --------
924 --------
925 hg(1), hgignore(5)
925 |hg(1)|_, |hgignore(5)|_
926
926
927 COPYING
927 COPYING
928 -------
928 -------
@@ -930,3 +930,5 b' This manual page is copyright 2005 Bryan'
930 Mercurial is copyright 2005-2009 Matt Mackall.
930 Mercurial is copyright 2005-2009 Matt Mackall.
931 Free use of this software is granted under the terms of the GNU General
931 Free use of this software is granted under the terms of the GNU General
932 Public License (GPL).
932 Public License (GPL).
933
934 .. include:: common.txt
General Comments 0
You need to be logged in to leave comments. Login now