forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nicola...@apache.org
Subject svn commit: rev 21276 - forrest/trunk/src/documentation/content/xdocs
Date Tue, 15 Jun 2004 13:02:33 GMT
Author: nicolaken
Date: Tue Jun 15 06:02:30 2004
New Revision: 21276

Modified:
   forrest/trunk/src/documentation/content/xdocs/tabs.xml
Log:
Use subtabs to highlight better forrestbot and forrestbar.

Modified: forrest/trunk/src/documentation/content/xdocs/tabs.xml
==============================================================================
--- forrest/trunk/src/documentation/content/xdocs/tabs.xml	(original)
+++ forrest/trunk/src/documentation/content/xdocs/tabs.xml	Tue Jun 15 06:02:30 2004
@@ -14,24 +14,30 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-<!DOCTYPE tabs PUBLIC "-//APACHE//DTD Cocoon Documentation Tab V1.0//EN" "http://forrest.apache.org/dtd/tab-cocoon-v10.dtd">
+<!DOCTYPE tabs PUBLIC "-//APACHE//DTD Cocoon Documentation Tab V1.1//EN" "http://forrest.apache.org/dtd/tab-cocoon-v11.dtd">
 
 <tabs software="Forrest"
     title="Apache Forrest"
-    copyright="@year@ The Apache Foundation"
+    copyright="2004 The Apache Software Foundation"
     xmlns:xlink="http://www.w3.org/1999/xlink">
 
-    <!-- The rules are:
-    @dir will always have /index.html added.
+  <!-- The rules for tabs are:
+    @dir will always have '/@indexfile' added.
+    @indexfile gets appended to @dir if the tab is selected. Defaults to 'index.html'
     @href is not modified unless it is root-relative and obviously specifies a
     directory (ends in '/'), in which case /index.html will be added
+    If @id's are present, site.xml entries with a matching @tab will be in that tab.
 
-    If tabs are nested, then the parent tab will contain all elements of its
-    children.
-    -->
+   Tabs can be embedded to a depth of two. The second level of tabs will only 
+    be displayed when their parent tab is selected.    
+  -->
 
     <tab id="home" label="Home" dir=""/>
-    <tab id="docs" label="Documentation" href="docs/your-project.html"/>
+    <tab id="docs" label="Documentation" dir="docs" indexfile="your-project.html">
+      <tab id="core" label="Core" dir="docs" indexfile="index.html"/>
+      <tab id="forrestbor" label="ForrestBot" dir="docs" indexfile="forrestbot.html"/>
+      <tab id="forrestbar" label="ForrestBar" dir="docs" indexfile="forrestbar.html"/>
+    </tab>
     <tab id="community" label="Community" dir="community"/>
     <tab id="howto" label="How-to" dir="community/howto"/>
 

Mime
View raw message