This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: 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: libstdc++ at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Sun, 15 Jun 2008 12:33:09 +0200 (CEST)
- Subject: Re: 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:
>> http://gcc.gnu.org/onlinedocs/libstdc++/ext/tr1.html
> http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt01ch01.html#manual.intro.status.standard.tr1
>
> Sadly, this link is pretty weak compared to the old one's simplicity.
> Instead, I wanted this URL:
>
> http://gcc.gnu.org/onlinedocs/libstdc++/manual/status_cxxtr1.html
>
> (see doc/xml/manual/status_cxxtr1.xml's <?dbhtml
> filename="standard_cxxtr1.html"?> markup. I don't know why this is not
> working, probably due to the type of document (sec2)?)
I failed to find any better solution, so I went ahead and committed
the patch below fixing up to links that broke during the libstdc++
doc reorg.
As far as I can see these were the last two, and we should be fine now
in terms of links. I'm a bit concerned that the libstdc++ documentation
remains different in terms of format versus what we usually use in GCC.
Let's hope this is going to work out fine in the long term.
Gerald
Index: gcc-4.2/changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.2/changes.html,v
retrieving revision 1.35
diff -u -3 -p -r1.35 changes.html
--- gcc-4.2/changes.html 22 Mar 2008 17:40:33 -0000 1.35
+++ gcc-4.2/changes.html 15 Jun 2008 09:38:31 -0000
@@ -195,8 +195,8 @@
compatibility headers. In addition, a lock-free version of
<code>shared_ptr</code> was contributed as part of Phillip
Jordan's Google Summer of Code project on lock-free
- containers. The implementation status for TR1 can be tracked in <a
- href="http://gcc.gnu.org/onlinedocs/libstdc++/ext/tr1.html">tr1.html</a>
+ containers.
+ (<a href="http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt01ch01.html#manual.intro.status.standard.tr1">Implementation status of TR1</a>)
</li>
<li>In association with the Summer of Code work on lock-free
containers, the interface for atomic builtins was adjusted,
Index: gcc-4.3/changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.3/changes.html,v
retrieving revision 1.114
diff -u -3 -p -r1.114 changes.html
--- gcc-4.3/changes.html 10 Jun 2008 19:42:00 -0000 1.114
+++ gcc-4.3/changes.html 15 Jun 2008 09:38:31 -0000
@@ -398,9 +398,10 @@
<li><a href="cxx0x_status.html">Experimental support for the upcoming
ISO C++ standard, C++0x</a>.</li>
<li> Support for TR1 mathematical special functions and regular
- expressions. The implementation status for TR1 can be tracked in
- <a href="http://gcc.gnu.org/onlinedocs/libstdc++/ext/tr1.html">
- tr1.html </a> </li>
+ expressions.
+ (<a href="http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt01ch01.html#m
+anual.intro.status.standard.tr1">Implementation status of TR1</a>)
+ </li>
<li> Default <code>what</code> implementations give more elaborate
exception strings for <code>bad_cast</code>,
<code>bad_typeid</code>, <code>bad_exception</code>, and