This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[wwwdocs] libstdc++ fixes (was: http://gcc.gnu.org/onlinedocs/libstdc++/ needs a bit of help)
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Cc: Paolo Carlini <pcarlini at suse dot de>, libstdc++ at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Sat, 3 May 2008 15:09:35 +0200 (CEST)
- Subject: [wwwdocs] libstdc++ fixes (was: http://gcc.gnu.org/onlinedocs/libstdc++/ needs a bit of help)
- References: <alpine.LSU.1.00.0803231712350.22304@acrux.dbai.tuwien.ac.at> <20080324100953.4164f3aa@wabash.artheist.org> <alpine.LSU.1.00.0804070204520.22304@acrux.dbai.tuwien.ac.at> <20080409165912.2390d5c8@wabash.artheist.org> <alpine.LSU.1.00.0804130110340.1558@acrux.dbai.tuwien.ac.at> <alpine.LSU.1.10.0804152312480.6827@acrux.dbai.tuwien.ac.at> <20080418114616.4355b3d8@wabash.artheist.org>
On Fri, 18 Apr 2008, Benjamin Kosnik wrote:
>> As a consequence of the restructuring of the libstdc++ documentation,
>> the following prominent links are broken. Do you have current
>> replacements for these?
>>
>> http://gcc.gnu.org/onlinedocs/libstdc++/parallel_mode.html
>> http://gcc.gnu.org/onlinedocs/libstdc++/ext/parallel_mode.html
> http://gcc.gnu.org/onlinedocs/libstdc++/manual/parallel_mode.html
Thanks!
I just committed the changes below, which fix two broken links on our
own site and, more importantly.
This also adds a redirection from the old URL to the new one (for any
external links or further internal ones). I'll keep an eye on this
and will adjust further occurrences where needed.
Gerald
Index: .htaccess
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/.htaccess,v
retrieving revision 1.25
diff -u -3 -p -r1.25 .htaccess
--- .htaccess 12 Apr 2008 23:24:21 -0000 1.25
+++ .htaccess 3 May 2008 13:05:04 -0000
@@ -20,11 +20,12 @@ Redirect permanent /gcc-3.1/testing-qt.h
Redirect permanent /libstdc++/mail.html http://gcc.gnu.org/lists.html
Redirect permanent /libstdc++/links.html http://gcc.gnu.org/readings.html
+Redirect permanent /onlinedocs/libstdc++/faq/index.html http://gcc.gnu.org/onlinedocs/libstdc++/faq.html
+Redirect permanent /onlinedocs/libstdc++/parallel_mode.html http://gcc.gnu.org/onlinedocs/libstdc++/manual/parallel_mode.html
Redirect permanent /onlinedocs/g77_news.html http://gcc.gnu.org/onlinedocs/g77/News.html
Redirect permanent /onlinedocs/g77_bugs.html http://gcc.gnu.org/onlinedocs/g77/Trouble.html
Redirect permanent /onlinedocs/g77/ http://gcc.gnu.org/onlinedocs/gcc-3.4.6/g77/
-Redirect permanent /onlinedocs/libstdc++/faq/index.html http://gcc.gnu.org/onlinedocs/libstdc++/faq.html
Redirect permanent /c9xstatus.html http://gcc.gnu.org/c99status.html
Redirect permanent /cvswrite.html http://gcc.gnu.org/svnwrite.html
Index: index.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/index.html,v
retrieving revision 1.658
diff -u -3 -p -r1.658 index.html
--- index.html 17 Apr 2008 08:36:56 -0000 1.658
+++ index.html 3 May 2008 13:05:05 -0000
@@ -66,7 +66,7 @@ annual report for 2008</a></dd>
<dt>September 11, 2007</dt>
<dd>An experimental <a
- href="http://gcc.gnu.org/onlinedocs/libstdc++/parallel_mode.html">
+ href="http://gcc.gnu.org/onlinedocs/libstdc++/manual/parallel_mode.html">
parallel mode </a> has been added. This is a parallel
implementation of many C++ Standard library algorithms, like
<code>std::accumulate</code>, <code>std::for_each</code>,