]> git.ipfire.org Git - people/ms/gcc.git/commitdiff
docs: Create Indices appendix
authorArsen Arsenović <arsen@aarsen.me>
Sun, 20 Nov 2022 16:57:46 +0000 (17:57 +0100)
committerArsen Arsenović <arsen@aarsen.me>
Tue, 21 Mar 2023 08:47:32 +0000 (09:47 +0100)
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.

gcc/doc/gcc.texi

index 7019365429d904367951c0cdb530af51f45bd408..a284dd2fd9338a34a5989f8e8407952c0aa0a4e5 100644 (file)
@@ -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