public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
From: Michael Frysinger <vapier@sourceware.org>
To: newlib-cvs@sourceware.org
Subject: [newlib-cygwin/main] newlib: docs: print the function index
Date: Tue, 23 Jan 2024 03:05:12 +0000 (GMT)	[thread overview]
Message-ID: <20240123030512.9BEEF3858D20@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=613267aa6ede2f147ee03035ecc11716cbc5d457

commit 613267aa6ede2f147ee03035ecc11716cbc5d457
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Fri Jan 5 00:00:22 2024 -0500

    newlib: docs: print the function index
    
    The generated function documentation makes sure to include entries for
    every function in the function index via @findex, but then the manuals
    forget to actually print the index.

Diff:
---
 newlib/libc/libc.texi | 5 +++++
 newlib/libm/libm.texi | 6 ++++++
 2 files changed, 11 insertions(+)

diff --git a/newlib/libc/libc.texi b/newlib/libc/libc.texi
index c6aeab227..a642f424b 100644
--- a/newlib/libc/libc.texi
+++ b/newlib/libc/libc.texi
@@ -155,6 +155,7 @@ into another language, under the above conditions for modified versions.
 * Overflow Protection::
 
 * Document Index::
+* Function Index::
 @end menu
 @end ifnottex
 
@@ -410,6 +411,10 @@ usage as the ANSI C version from @file{stdarg.h}.
 @unnumbered Document Index
 @printindex cp
 
+@node Function Index
+@unnumbered Function Index
+@printindex fn
+
 @tex
 % I think something like @@colophon should be in texinfo.  In the
 % meantime:
diff --git a/newlib/libm/libm.texi b/newlib/libm/libm.texi
index 943262d05..d322422c2 100644
--- a/newlib/libm/libm.texi
+++ b/newlib/libm/libm.texi
@@ -98,6 +98,7 @@ into another language, under the above conditions for modified versions.
 * Reentrancy::     The functions in libm are not reentrant by default.
 * Long Double Functions:: The long double function support of libm.
 * Document Index::
+* Function Index::
 @end menu
 
 @include targetdep.tex
@@ -121,10 +122,15 @@ This makes it thread safe, and therefore reentrant.
 Currently, the full set of long double math functions is only provided
 on platforms where long double equals double.
 For such platforms, the long double math functions are implemented as calls to the double versions.
+
 @node Document Index
 @unnumbered Document Index
 @printindex cp
 
+@node Function Index
+@unnumbered Function Index
+@printindex fn
+
 @tex
 % I think something like @@colophon should be in texinfo.  In the
 % meantime:

                 reply	other threads:[~2024-01-23  3:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240123030512.9BEEF3858D20@sourceware.org \
    --to=vapier@sourceware.org \
    --cc=newlib-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).