summaryrefslogtreecommitdiff
path: root/debian/patches/libstdc++-doclink.diff
blob: c402fc96ac54922a896b6ec649712e75b01d42e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# DP: adjust hrefs to point to the local documentation

---
 libstdc++-v3/doc/doxygen/mainpage.html |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

Index: b/src/libstdc++-v3/doc/doxygen/mainpage.html
===================================================================
--- a/src/libstdc++-v3/doc/doxygen/mainpage.html
+++ b/src/libstdc++-v3/doc/doxygen/mainpage.html
@@ -27,10 +27,10 @@
 <p class="smallertext">Generated on @DATE@.</p>
 
 <p>There are two types of documentation for libstdc++.  One is the
-   distribution documentation, which can be read online
-   <a href="http://gcc.gnu.org/onlinedocs/libstdc++/index.html">here</a>
-   or offline from the file doc/html/index.html in the library source
-   directory.
+   distribution documentation, which can be read
+   <a href="../index.html">offline in the documentation directory</a>
+   or
+   <a href="http://gcc.gnu.org/onlinedocs/libstdc++/index.html">online</a>.
 </p>
 
 <p>The other type is the source documentation, of which this is the first page.
@@ -81,9 +81,10 @@
   This style guide can also be viewed on the <a href="http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01apas04.html">web</a>.
 
 <h2>License, Copyright, and Other Lawyerly Verbosity</h2>
-<p>The libstdc++ documentation is released under
-   <a href="http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt01ch01s02.html">
-   these terms</a>.
+<p>The libstdc++ documentation is released under these terms
+   (<a href="../manual/license.html">read offline</a> or
+    <a href="http://gcc.gnu.org/onlinedocs/libstdc++/manual/license.html">read online</a>.
+   ).
 </p>
 <p>Part of the generated documentation involved comments and notes from
    SGI, who says we gotta say this:
Index: b/src/libstdc++-v3/doc/html/api.html
===================================================================
--- a/src/libstdc++-v3/doc/html/api.html
+++ b/src/libstdc++-v3/doc/html/api.html
@@ -20,6 +20,8 @@
   member functions for the library classes, finding out what is in a
   particular include file, looking at inheritance diagrams, etc.
 </p><p>
+<a class="link" href="user/index.html">The API documentation, rendered into HTML, can be viewed offline.</a>
+</p><p>
   The API documentation, rendered into HTML, can be viewed online
   <a class="link" href="http://gcc.gnu.org/onlinedocs/" target="_top">for each GCC release</a>
   and
@@ -38,4 +40,4 @@
 </p><p>
   In addition, a rendered set of man pages are available in the same
   location specified above. Start with C++Intro(3).
-</p></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="bk02.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="bk02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="bk03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></body></html>
\ No newline at end of file
+</p></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="bk02.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="bk02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="bk03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></body></html>
Index: b/src/libstdc++-v3/doc/xml/api.xml
===================================================================
--- a/src/libstdc++-v3/doc/xml/api.xml
+++ b/src/libstdc++-v3/doc/xml/api.xml
@@ -40,6 +40,11 @@
 </para>
 
 <para>
+  <ulink url="user/index.html">The source-level documentation for this release can be viewed offline.
+  </ulink>
+</para>
+
+<para>
   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