summaryrefslogtreecommitdiff
path: root/debian/patches/libstdc++-doclink.diff
blob: f626fad56389e145daa95bd2691a2d50bd44e398 (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
# 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
@@ -29,8 +29,8 @@
 <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.
+   or offline in the documentation directory
+   <a href="manual/spine.html">here</a>.
 </p>
 
 <p>The other type is the source documentation, of which this is the first page.
@@ -81,9 +81,9 @@
   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="http://gcc.gnu.org/onlinedocs/libstdc++/manual/license.html">read online</a>, or
+   <a href="manual/license.html">read offline</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
@@ -18,6 +18,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="ulink" href="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:
 </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>
       <a class="link" href="http://gcc.gnu.org/onlinedocs/libstdc++/libstdc++-html-USERS-3.4/index.html" target="_top">for the 3.4 release
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
@@ -36,6 +36,11 @@
   particular include file, looking at inheritance diagrams, etc.
 </para>
 
+ <para>
+  <ulink url="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:
 </para>