PR libstdc++/81835 fix broken URLs in libstdc++ docs

Message ID 20170913100621.GA31103@redhat.com
State New
Headers show
Series
  • PR libstdc++/81835 fix broken URLs in libstdc++ docs
Related show

Commit Message

Jonathan Wakely Sept. 13, 2017, 10:06 a.m.
PR libstdc++/81835
	* doc/xml/manual/extensions.xml: Replace unstable URL.
	* doc/html/manual/ext_demangling.html: Regenerate.
	* libsupc++/cxxabi.h (__cxa_demangle): Fix broken URL.

Committed to trunk, will backport too.
commit ad7d4f59d81d948255ae5d7aaee3f4147a1c3df7
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Wed Sep 13 11:02:11 2017 +0100

    PR libstdc++/81835 fix broken URLs in libstdc++ docs
    
            PR libstdc++/81835
            * doc/xml/manual/extensions.xml: Replace unstable URL.
            * doc/html/manual/ext_demangling.html: Regenerate.
            * libsupc++/cxxabi.h (__cxa_demangle): Fix broken URL.

Comments

Jonathan Wakely Sept. 13, 2017, 10:18 a.m. | #1
On 13/09/17 11:06 +0100, Jonathan Wakely wrote:
>	PR libstdc++/81835
>	* doc/xml/manual/extensions.xml: Replace unstable URL.
>	* doc/html/manual/ext_demangling.html: Regenerate.
>	* libsupc++/cxxabi.h (__cxa_demangle): Fix broken URL.

More of the same.

Committed to trunk, will backport too.
commit 8b68d9fc404ee72eb06281b003d9c17066bc3e80
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Wed Sep 13 11:16:29 2017 +0100

    Fix broken URLs in libstdc++ API docs
    
            * doc/doxygen/mainpage.html: Fix broken URLs.

diff --git a/libstdc++-v3/doc/doxygen/mainpage.html b/libstdc++-v3/doc/doxygen/mainpage.html
index aa650bafeda..b54482a74e9 100644
--- a/libstdc++-v3/doc/doxygen/mainpage.html
+++ b/libstdc++-v3/doc/doxygen/mainpage.html
@@ -28,7 +28,7 @@
 
 <p>There are two types of documentation for libstdc++.  One is the
    distribution documentation, which can be read online
-   <a href="http://gcc.gnu.org/onlinedocs/libstdc++/index.html">here</a>
+   <a href="https://gcc.gnu.org/onlinedocs/libstdc++/index.html">here</a>
    or offline from the file doc/html/index.html in the library source
    directory.
 </p>
@@ -78,11 +78,11 @@
    pages.  See the section "Documentation Style"
    in <code>doc/xml/manual/appendix_contributing.xml</code> in the
    source tree for how to create (and write) the doxygen markup.
-  This style guide can also be viewed on the <a href="http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01apas04.html">web</a>.
+  This style guide can also be viewed on the <a href="https://gcc.gnu.org/onlinedocs/libstdc++/manual/documentation_hacking.html">web</a>.
 
 <h2>License, Copyright, and Other Lawyerly Verbosity</h2>
 <p>The libstdc++ documentation is released under
-   <a href="http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt01ch01s02.html">
+   <a href="https://gcc.gnu.org/onlinedocs/libstdc++/manual/appendix_gpl.html">
    these terms</a>.
 </p>
 <p>Part of the generated documentation involved comments and notes from

Patch

diff --git a/libstdc++-v3/doc/xml/manual/extensions.xml b/libstdc++-v3/doc/xml/manual/extensions.xml
index 41b1a801325..a6e4db2b6f7 100644
--- a/libstdc++-v3/doc/xml/manual/extensions.xml
+++ b/libstdc++-v3/doc/xml/manual/extensions.xml
@@ -502,7 +502,7 @@  get_temporary_buffer(5, (int*)0);
     <quote>demangling.</quote>
   </para>
   <para>
-    If you have read the <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01115.html">source
+    If you have read the <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/namespaces.html">source
     documentation for <code>namespace abi</code></link> then you are
     aware of the cross-vendor C++ ABI in use by GCC.  One of the
     exposed functions is used for demangling,
diff --git a/libstdc++-v3/libsupc++/cxxabi.h b/libstdc++-v3/libsupc++/cxxabi.h
index b66d6d194bc..6e6b21ddbde 100644
--- a/libstdc++-v3/libsupc++/cxxabi.h
+++ b/libstdc++-v3/libsupc++/cxxabi.h
@@ -182,7 +182,7 @@  namespace __cxxabiv1
    *  with GNU extensions. For example, this function is used in
    *  __gnu_cxx::__verbose_terminate_handler.
    *
-   *  See http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt12ch39.html
+   *  See https://gcc.gnu.org/onlinedocs/libstdc++/manual/ext_demangling.html
    *  for other examples of use.
    *
    *  @note The same demangling functionality is available via