[wwwdocs] provide version-independent URL for our web documentation

Gerald Pfeifer gerald@pfeifer.com
Mon Sep 17 06:30:00 GMT 2007


In Bugzilla #33057 Karl Berry asked for a version-independent URL for our
web documentation of the release with the highest version number.

I was a bit sceptical at first, but indeed the only stable URL we have 
been offering so far that does not refer to a specific version was that
of our development trunk, not any released version.

This patch address this by adding http://gcc.gnu.org/onlinedocs/ref which
(temporarily) redirects to our GCC 4.2.1 documentation.  This is going to
be a bit of extra work for releases from the latest branch, but it's not
much and does help provide cross references for GNU documentation.

Gerald

Index: .htaccess
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/.htaccess,v
retrieving revision 1.20
diff -u -3 -p -r1.20 .htaccess
--- .htaccess	23 Oct 2006 18:58:52 -0000	1.20
+++ .htaccess	17 Sep 2007 00:02:45 -0000
@@ -36,3 +36,6 @@ Redirect permanent /reghunt-howto.html		
 Redirect permanent /thanks.html			http://gcc.gnu.org/onlinedocs/gcc/Contributors.html
 Redirect permanent /timeline.html		http://gcc.gnu.org/releases.html#timeline
 Redirect permanent /web.html			http://gcc.gnu.org/projects/web.html
+
+Redirect           /onlinedocs/ref		http://gcc.gnu.org/onlinedocs/gcc-4.2.1/
+



More information about the Gcc-patches mailing list