On Wed, 9 Apr 2008, Benjamin Kosnik wrote:
> From what I can tell, the links to libstdc++ documentation on the gcc
> web site are generated from the gcc/libstdc++-v3/doc/html directory.
> This is fine, I guess. But the problem is that when this directory
> structure changed, none of the old files were deleted. Instead, we had
> the old and new documents "live" in one directory. This is a bug.

Yes, and no.  I think there are two issues here.  The one you are pointing 
out, the other the fact that we changed existing URLs (some of them old or 
"prominent" ones with external links towards them). 

I believe you have mostly addressed the first, and I'll try to help with
the second.

> On March 31, I moved all the old content into a director called
> "dated." Or, at least all the stuff I could move: 
> 
> www/gcc/htdocs/onlinedocs/libstdc++/dated
> 
> is the repository for all the old docs. In addition, ext/pb_assoc
> should be moved in to that as well, but I am lacking permissions to
> do this. 

I've moved ext/pb_assoc now.  Looking in the libstdc++ directory, there 
are a couple of further files/directories I'm not sure about:

  -rw-r--r--   1 bkoz     gcc   1862 Feb 12 20:27 bk02.html
  -rw-r--r--   1 gccadmin gcc    724 Apr 12 00:55 bk02.html.gz
  -rw-r--r--   1 bkoz     gcc   1821 Feb 12 20:27 bk03.html
  -rw-r--r--   1 gccadmin gcc    717 Apr 12 00:55 bk03.html.gz
  drwxr-sr-x   2 bkoz     gcc 114688 Feb 13 21:39 libstdc++-html.20080213
  drwxr-sr-x   2 bkoz     gcc 258048 Mar 26 06:05 libstdc++-html.20080326
  drwxr-sr-x   2 bkoz     gcc 237568 Jan 18 06:49 libstdc++-html-USERS-20080118

As part of addressing the second issue, I will commit the patch below
in a minute which adjust our internal links as well as redirecting all
external ones and bookmarks.

Gerald

Index: faq.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/faq.html,v
retrieving revision 1.205
diff -u -3 -p -r1.205 faq.html
--- faq.html    9 Sep 2007 17:38:18 -0000       1.205
+++ faq.html    12 Apr 2008 23:20:19 -0000
@@ -20,7 +20,7 @@ and the <a href="http://www.fortran.com/
 Information page</a>.</p>
 
 <p>Other GCC-related FAQs: 
-   <a href="http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html";>
+   <a href="http://gcc.gnu.org/onlinedocs/libstdc++/faq.html";>
      libstdc++-v3</a>, and 
    <a href="http://gcc.gnu.org/java/faq.html";>GCJ</a>.</p>
 
Index: .htaccess
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/.htaccess,v
retrieving revision 1.23
retrieving revision 1.25
diff -u -3 -p -r1.23 -r1.25
--- .htaccess   12 Apr 2008 22:41:15 -0000      1.23
+++ .htaccess   12 Apr 2008 23:24:21 -0000      1.25
@@ -24,6 +24,7 @@ Redirect permanent /libstdc++/links.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

Reply via email to