aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorArsen Arsenović <arsen@aarsen.me>2022-11-20 17:57:46 +0100
committerArsen Arsenović <arsen@aarsen.me>2023-03-21 09:47:32 +0100
commitab946809508638794fc3f4a8e582ba7d89b6b80b (patch)
treedf3aed458622dd40f06f86c8f0ed18badccd82d9 /gcc
parent5f413dc41ee4f8bc3a0fc295f98b75dceae52fa8 (diff)
downloadgcc-ab946809508638794fc3f4a8e582ba7d89b6b80b.zip
gcc-ab946809508638794fc3f4a8e582ba7d89b6b80b.tar.gz
gcc-ab946809508638794fc3f4a8e582ba7d89b6b80b.tar.bz2
docs: Create Indices appendix
The GCC manual has multiple indices. By creating an appendix which lists them, we help makeinfo present a more accessible way for the reader to see all the indices. gcc/ChangeLog: * doc/gcc.texi: Add the Indices appendix, to make texinfo generate nice indices overview page.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/doc/gcc.texi28
1 files changed, 18 insertions, 10 deletions
diff --git a/gcc/doc/gcc.texi b/gcc/doc/gcc.texi
index 7019365..a284dd2 100644
--- a/gcc/doc/gcc.texi
+++ b/gcc/doc/gcc.texi
@@ -159,8 +159,7 @@ object files.
* GNU Free Documentation License:: How you can copy and share this manual.
* Contributors:: People who have contributed to GCC.
-* Option Index:: Index to command line options.
-* Keyword Index:: Index of concepts and symbol names.
+* Indices:: List of indices in this manual.
@end menu
@include frontends.texi
@@ -196,19 +195,28 @@ object files.
@c Indexes
@c ---------------------------------------------------------------------
+@node Indices
+@appendix Indices
+
+@menu
+* Option Index:: Index to command line options.
+* Concept and Symbol Index:: Index of concepts and symbols names.
+@end menu
+
@node Option Index
-@unnumbered Option Index
+@appendixsec Option Index
-GCC's command line options are indexed here without any initial @samp{-}
-or @samp{--}. Where an option has both positive and negative forms
-(such as @option{-f@var{option}} and @option{-fno-@var{option}}),
-relevant entries in the manual are indexed under the most appropriate
-form; it may sometimes be useful to look up both forms.
+GCC's command line options are indexed here without any initial
+@samp{-} or @samp{--}. Where an option has both positive and negative
+forms (such as @option{-f@var{option}} and
+@option{-fno-@var{option}}), relevant entries in the manual are
+indexed under the most appropriate form; it may sometimes be useful to
+look up both forms.
@printindex op
-@node Keyword Index
-@unnumbered Keyword Index
+@node Concept and Symbol Index
+@appendixsec Concept and Symbol Index
@printindex cp