There's no reason to have a fixed list of release versions in the libstdc++ docs which needs updating manually. The page at https://gcc.gnu.org/onlinedocs already links to the Doxygen docs for each release, so we can just refer to that.
* doc/xml/api.xml: Replace hardcoded links for specific versions with link to docs for all releases. * doc/html/*: Regenerate. Committed to trunk. I'll probably backport this to gcc-5 and gcc-6, because the list of releases on those branches haven't been updated to refer to anything later than 4.9.2
commit 6ee732f683b65e92f2b908a041c421d2815a80f3 Author: Jonathan Wakely <jwak...@redhat.com> Date: Mon Aug 22 17:16:37 2016 +0100 Update links to libstdc++ Doxygen pages * doc/xml/api.xml: Replace hardcoded links for specific versions with link to docs for all releases. * doc/html/*: Regenerate. diff --git a/libstdc++-v3/doc/xml/api.xml b/libstdc++-v3/doc/xml/api.xml index f9478c3..7ed0179 100644 --- a/libstdc++-v3/doc/xml/api.xml +++ b/libstdc++-v3/doc/xml/api.xml @@ -40,79 +40,15 @@ </para> <para> - The API documentation, rendered into HTML, can be viewed online: + The API documentation, rendered into HTML, can be viewed online + <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://gcc.gnu.org/onlinedocs/">for each GCC release</link> + and + <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/index.html"> + for the main development tree + </link> + (see the date on the first page). </para> -<itemizedlist> - <listitem> - <para> - <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://gcc.gnu.org/onlinedocs/libstdc++/libstdc++-html-USERS-3.4/index.html">for the 3.4 release - </link> - </para> - </listitem> - <listitem> - <para> - <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://gcc.gnu.org/onlinedocs/libstdc++/libstdc++-html-USERS-4.1/index.html">for the 4.1 release - </link> - </para> - </listitem> - <listitem> - <para> - <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://gcc.gnu.org/onlinedocs/libstdc++/libstdc++-html-USERS-4.2/index.html">for the 4.2 release - </link> - </para> - </listitem> - <listitem> - <para> - <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://gcc.gnu.org/onlinedocs/libstdc++/libstdc++-html-USERS-4.3/index.html">for the 4.3 release - </link> - </para> - </listitem> - <listitem> - <para> - <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://gcc.gnu.org/onlinedocs/libstdc++/libstdc++-html-USERS-4.4/index.html">for the 4.4 release - </link> - </para> - </listitem> - <listitem> - <para> - <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://gcc.gnu.org/onlinedocs/libstdc++/libstdc++-api-4.5/index.html">for the 4.5 release - </link> - </para> - </listitem> - <listitem> - <para> - <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://gcc.gnu.org/onlinedocs/libstdc++/libstdc++-api-4.6/index.html">for the 4.6 release - </link> - </para> - </listitem> - <listitem> - <para> - <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://gcc.gnu.org/onlinedocs/gcc-4.7.4/libstdc++/api/">for the 4.7.4 release - </link> - </para> - </listitem> - <listitem> - <para> - <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://gcc.gnu.org/onlinedocs/gcc-4.8.3/libstdc++/api/">for the 4.8.3 release - </link> - </para> - </listitem> - <listitem> - <para> - <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://gcc.gnu.org/onlinedocs/gcc-4.9.0/libstdc++/api/">for the 4.9.0 release - </link> - </para> - </listitem> - <listitem> - <para> - <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/index.html">"the latest collection" - </link> - (For the main development tree; see the date on the first page.) - </para> - </listitem> -</itemizedlist> - <para> The rendered HTML, as above, is also available for download on the gcc.gnu.org site in a directory located at