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]

PATCH: clean up libstdc++ navigation


Mom, look, without hands^Wtables! ;-)

2002-11-12  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>

        * index.html: Remove navigation, which is now handled by the
        global style.
        * status.html: Ditto.

Index: style.mhtml
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/style.mhtml,v
retrieving revision 1.46
diff -u -3 -p -r1.46 style.mhtml
--- style.mhtml	11 Nov 2002 21:42:58 -0000	1.46
+++ style.mhtml	11 Nov 2002 23:01:53 -0000
@@ -24,6 +24,13 @@
  >
 >

+<if <match <get-var env::PREPROCESS_FILE> "libstdc../[^/]*.html">
+ <group
+  <set-var navigation>
+  <set-var BACKPATH="../">
+ >
+>
+
 <if <var-exists XHTML>
  <group
   <?xml version="1.0" encoding="ISO-8859-1"?>
@@ -124,6 +131,26 @@
     <a href="test.html">Testing</a><br />
     <a href="contrib.html">Contributing</a><br />
     <a href="done.html">Done with Gcj</a><br />
+    </p>
+    </td></tr>
+    </table></td></tr>
+   >
+  >
+
+  <if <match <get-var env::PREPROCESS_FILE> "libstdc../[^/]*.html">
+   <group
+    <tr><td><table cellspacing="0" width="100%">
+    <tr bgcolor="#CCCCCC"><td>
+    <b>libstdc++ v3</b>
+    </td></tr>
+    <tr bgcolor="#EEEEEE"><td>
+    <p>
+    <a href="index.html">libstdc++ Home</a><br />
+    <a href="../index.html">GCC Home</a><br />
+    <a href="status.html">Status</a><br />
+    <a href="http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html";>FAQ</a>
+(<a href="http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.txt";>text</a>)<br />
+    <a href="http://gcc.gnu.org/onlinedocs/libstdc++/documentation.html";>Documentation</a>
     </p>
     </td></tr>
     </table></td></tr>
Index: libstdc++/index.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/libstdc++/index.html,v
retrieving revision 1.28
diff -u -3 -p -r1.28 index.html
--- libstdc++/index.html	11 Nov 2002 22:46:08 -0000	1.28
+++ libstdc++/index.html	11 Nov 2002 23:01:53 -0000
@@ -4,41 +4,8 @@
  <title>Standard C++ Library v3</title>
  <link rel="StyleSheet" href="lib3styles.css" />
 </head>
-<body>
-
-<!-- ####################################################### -->
-<!-- Encloses everything. :-(  First row is the sigil; second row
-     is the rest of the page (which is another table, blech).  That
-     second row contains two elements; the first is the TOC (in gray)
-     and the second is another table (hork).  That second table
-     contains the actual "text" of the page.
--->
-<table>
-  <tr><td valign="top" align="left">
-  <p><span class="tocheader">libstdc++</span> v3</p>
-  </td></tr><tr><td valign="top" bgcolor="#EEEEEE">
-
-<!-- TOC (Navigation bar thingy) -->
-<table cellspacing="10">
-    <tr><td colspan="2"></td></tr>
-
-    <tr><td colspan="2">
-    <a href="index.html">libstdc++ Home</a><br />
-    <a href="../index.html">GCC Home</a><br />
-    <a href="status.html">Status</a><br />
-    <a href="http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html";>FAQ</a>
-(<a href="http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.txt";>text</a>)<br />
-    <a href="http://gcc.gnu.org/onlinedocs/libstdc++/documentation.html";>Documentation</a><br />
-    </td></tr>
-
-</table></td><td></td><td>
-    <!-- Why another table for the actual stuff?  See JSM's insightful
-         comments in the source of sources.redhat.com.
-     -->
-    <table><tr><td>
-
-<!-- ####################################################### -->

+<body>

 <h2>What... is your name?</h2>

@@ -144,8 +111,6 @@
    retrieve only the library, check out the <code>libstdc++-v3</code> module
    instead.
 </p>
-
-</td></tr></table></td></tr></table>

 </body>
 </html>
Index: libstdc++/status.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/libstdc++/status.html,v
retrieving revision 1.24
diff -u -3 -p -r1.24 status.html
--- libstdc++/status.html	11 Nov 2002 22:46:08 -0000	1.24
+++ libstdc++/status.html	11 Nov 2002 23:01:53 -0000
@@ -4,41 +4,8 @@
  <title>Standard C++ Library v3</title>
  <link rel="StyleSheet" href="lib3styles.css" />
 </head>
-<body>
-
-<!-- ####################################################### -->
-<!-- Encloses everything. :-(  First row is the sigil; second row
-     is the rest of the page (which is another table, blech).  That
-     second row contains two elements; the first is the TOC (in gray)
-     and the second is another table (hork).  That second table
-     contains the actual "text" of the page.
--->
-<table>
-  <tr><td valign="top" align="left">
-  <p><span class="tocheader">libstdc++</span> v3</p>
-  </td></tr><tr><td valign="top" bgcolor="#EEEEEE">
-
-<!-- TOC (Navigation bar thingy) -->
-<table cellspacing="10">
-    <tr><td colspan="2"></td></tr>
-
-    <tr><td colspan="2">
-    <a href="index.html">libstdc++ Home</a><br />
-    <a href="../index.html">GCC Home</a><br />
-    <a href="status.html">Status</a><br />
-    <a href="http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html";>FAQ</a>
-(<a href="http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.txt";>text</a>)<br />
-    <a href="http://gcc.gnu.org/onlinedocs/libstdc++/documentation.html";>Documentation</a><br />
-    </td></tr>
-
-</table></td><td></td><td>
-    <!-- Why another table for the actual stuff?  See JSM's insightful
-         comments in the source of sources.redhat.com.
-     -->
-    <table><tr><td>
-
-<!-- ####################################################### -->

+<body>

 <h2>Status</h2>
 <hr />


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