hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1070165 - /httpcomponents/project/src/site/site.xml
Date Sun, 13 Feb 2011 01:11:37 GMT
Author: sebb
Date: Sun Feb 13 01:11:36 2011
New Revision: 1070165

URL: http://svn.apache.org/viewvc?rev=1070165&view=rev
Log:
Generic top menu section for all sites

Modified:
    httpcomponents/project/src/site/site.xml

Modified: httpcomponents/project/src/site/site.xml
URL: http://svn.apache.org/viewvc/httpcomponents/project/src/site/site.xml?rev=1070165&r1=1070164&r2=1070165&view=diff
==============================================================================
--- httpcomponents/project/src/site/site.xml (original)
+++ httpcomponents/project/src/site/site.xml Sun Feb 13 01:11:36 2011
@@ -31,6 +31,8 @@
 
 <project name="HttpComponents">
 
+<!-- N.B. all non-body elements are automatically inherited -->
+
   <skin>
     <groupId>org.apache.httpcomponents</groupId>
     <artifactId>maven-site-skin</artifactId>
@@ -50,24 +52,30 @@
   </bannerRight>
 
   <body>
+    <!-- N.B. body links are automatically inherited -->
     <links>
       <item name="Apache" href="http://www.apache.org/"/>
       <item name="HttpComponents" href="http://hc.apache.org/index.html"/>
     </links>
-    <menu name="Overview">
-      <item name="About" href="index.html"/>
+    
+    <!-- add standard menu links for all sub-sites -->
+    <menu name="HttpComponents" inherit="top">
+      <item name="Home" href="index.html"/>
       <item name="License" href="http://www.apache.org/licenses/"/>
-      <item name="News" href="news.html"/>
-      <item name="Powered by" href="poweredby.html"/>
       <item name="Download" href="downloads.cgi"/>
       <item name="Mailing Lists" href="mail.html"/>
-      <item name="Get Involved" href="get-involved.html"/>
+      <item name="User documents" href="user-docs.html"/>
+      <item name="Developer documents" href="dev-docs.html"/>
+      <item name="Wiki (external)" href="http://wiki.apache.org/HttpComponents/"/>
       <item name="Security" href="http://www.apache.org/security/"/>
     </menu>
-    <menu name="Documentation">
-      <item name="For Users" href="user-docs.html"/>
-      <item name="For Developers" href="dev-docs.html"/>
-      <item name="Wiki (external)" href="http://wiki.apache.org/HttpComponents/"/>
+    
+    <!-- sections for top-level site only -->
+    <menu name="Overview">
+      <item name="About" href="index.html"/>
+      <item name="News" href="news.html"/>
+      <item name="Powered by" href="poweredby.html"/>
+      <item name="Get Involved" href="get-involved.html"/>
     </menu>
     <menu name="Components">
       <item name="HttpClient (GA)" href="httpcomponents-client-ga/index.html"/>
@@ -83,7 +91,10 @@
       <item name="Bylaws" href="bylaws.html"/>
       <item name="Goals" href="goals.html"/>
     </menu>
+
+    <!-- inherited -->
     <menu ref="reports" inherit="bottom"/>
+
     <menu name="ASF" inherit="bottom">
       <item name="ASF Home Page" href="http://www.apache.org"/>
       <item name="Foundation" href="http://www.apache.org/foundation/"/>
@@ -91,6 +102,8 @@
       <item name="Thanks" href="http://www.apache.org/foundation/thanks.html"/>
     </menu>
   </body>
+  
+  <!-- inherited -->
   <poweredBy>
     <!-- Add ApacheCon logo -->
     <logo name="ApacheCon" href="http://www.apache.org/events/current-event.html"
@@ -99,6 +112,8 @@
     <logo name="Maven" href="http://maven.apache.org/"
           img="http://maven.apache.org/images/logos/maven-feather.png"/>
   </poweredBy>
+
+  <!-- inherited -->
   <custom>
     <footer>
       <div class="xleft">Apache HttpComponents, Commons HttpClient, Apache, the Apache
feather logo, and the Apache HttpComponents project logo are trademarks of The Apache Software
Foundation.</div>



Mime
View raw message