Re: [PATCH] PR libstdc++/81835 fix broken URLs in libstdc++ docs

2017-09-13 Thread Jonathan Wakely

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


[PATCH] PR libstdc++/81835 fix broken URLs in libstdc++ docs

2017-09-13 Thread Jonathan Wakely

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 
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.

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);
 demangling.
   
   
-If you have read the http://www.w3.org/1999/xlink; 
xlink:href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01115.html;>source
+If you have read the http://www.w3.org/1999/xlink; 
xlink:href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/namespaces.html;>source
 documentation for namespace abi 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