This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[wwwdocs,Java] Make links in faq.html and java/faq.html relative


Ever since

  2007-10-01  Gerald Pfeifer  <gerald@pfeifer.com>

        * gcc_release: Do not include copies of faq.html in releases,
        and remove all the explicit support code to pull in web pages.

there was no reason faq.html (formerly included as FAQ) needed absolute
links unless wrt. services only available on gcc.gnu.org.  This adjusts
both faq.html and java/faq.html accordingly.

As a nice side effect, this avoids http vs https changes.

Applied.

Gerald

Index: faq.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/faq.html,v
retrieving revision 1.219
diff -u -r1.219 faq.html
--- faq.html	28 Jun 2014 11:59:42 -0000	1.219
+++ faq.html	29 Jun 2014 19:38:24 -0000
@@ -8,9 +8,6 @@
 
 <h1>GCC Frequently Asked Questions</h1>
 
-<p>The latest version of this document is always available at 
-<a href="http://gcc.gnu.org/faq.html";>http://gcc.gnu.org/faq.html</a>.</p>
-
 <p>This FAQ tries to answer specific questions concerning GCC. For
 general information regarding C, C++, resp. Fortran please check the 
 <a href="http://c-faq.com/";>comp.lang.c FAQ</a>,
@@ -21,7 +18,7 @@
 <p>Other GCC-related FAQs: 
    <a href="https://gcc.gnu.org/onlinedocs/libstdc++/faq.html";>
      libstdc++-v3</a>, and 
-   <a href="http://gcc.gnu.org/java/faq.html";>GCJ</a>.</p>
+   <a href="java/faq.html">GCJ</a>.</p>
 
 <hr />
 <h1>Questions</h1>
@@ -105,7 +102,7 @@
 These are included in the sources for a release in INSTALL/specific.html,
 and the <a href="https://gcc.gnu.org/install/specific.html";>latest version</a>
 is always available at the GCC web site.
-Reports of <a href="http://gcc.gnu.org/buildstat.html";>successful builds</a>
+Reports of <a href="buildstat.html">successful builds</a>
 for several versions of GCC are also available at the web site.</p>
 
 <hr />



2014-06-29  Gerald Pfeifer  <gerald@pfeifer.com>

	* faq.html: Remove two absolute links/references.

Index: java/faq.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/java/faq.html,v
retrieving revision 1.73
diff -u -r1.73 faq.html
--- java/faq.html	28 Jun 2014 17:12:51 -0000	1.73
+++ java/faq.html	29 Jun 2014 19:38:26 -0000
@@ -6,7 +6,7 @@
 <body>
 
       <h1>The GCJ FAQ</h1>
-      <p>The latest version of this document is always available at <a href="faq.html">http://gcc.gnu.org/java/faq.html</a>.</p>
+
       <ol>
         <li><a href="#1_0">General Questions</a> 
           <ol>
@@ -422,7 +422,8 @@
           used for CNI with the -fno-rtti option.
           This constraint does not apply in version 3.0 and later.</p>
           
-          <p>The primary source of documentation for CNI is at <a href="papers/cni/t1.html">http://gcc.gnu.org/java/papers/cni/t1.html</a></p>
+          <p>The primary source of documentation for CNI is 
+          <a href="papers/cni/t1.html">this paper</a>.</p>
         </dd>
       </dl>
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]