forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r106670 - in forrest/trunk/plugins/org.apache.forrest.plugin.fbits: resources/stylesheets src/documentation src/documentation/content/xdocs
Date Fri, 26 Nov 2004 23:38:45 GMT
Author: thorsten
Date: Fri Nov 26 15:38:43 2004
New Revision: 106670

URL: http://svn.apache.org/viewcvs?view=rev&rev=106670
Log:
changed skin color to lenya ones; restructured the site to have extract later docu easier;
added fbits tab
Added:
   forrest/trunk/plugins/org.apache.forrest.plugin.fbits/src/documentation/content/xdocs/fbits.xml
  (contents, props changed)
Modified:
   forrest/trunk/plugins/org.apache.forrest.plugin.fbits/resources/stylesheets/filter.xsl
   forrest/trunk/plugins/org.apache.forrest.plugin.fbits/src/documentation/content/xdocs/index.xml
   forrest/trunk/plugins/org.apache.forrest.plugin.fbits/src/documentation/content/xdocs/site.xml
   forrest/trunk/plugins/org.apache.forrest.plugin.fbits/src/documentation/content/xdocs/tabs.xml
   forrest/trunk/plugins/org.apache.forrest.plugin.fbits/src/documentation/skinconf.xml

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.fbits/resources/stylesheets/filter.xsl
Url: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.fbits/resources/stylesheets/filter.xsl?view=diff&rev=106670&p1=forrest/trunk/plugins/org.apache.forrest.plugin.fbits/resources/stylesheets/filter.xsl&r1=106669&p2=forrest/trunk/plugins/org.apache.forrest.plugin.fbits/resources/stylesheets/filter.xsl&r2=106670
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.fbits/resources/stylesheets/filter.xsl
(original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.fbits/resources/stylesheets/filter.xsl
Fri Nov 26 15:38:43 2004
@@ -41,9 +41,9 @@
     </filter>
   </xsl:template>
   <xsl:template match="forrest:hook">
-    <div id="{@name}">
+    <forrest:hook id="{@name}">
       <xsl:apply-templates />
-    </div>
+    </forrest:hook>
   </xsl:template>
     <xsl:template match="forrest:contract">
     <xsl:variable name="css-ft"><xsl:value-of select="@name"/></xsl:variable>

Added: forrest/trunk/plugins/org.apache.forrest.plugin.fbits/src/documentation/content/xdocs/fbits.xml
Url: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.fbits/src/documentation/content/xdocs/fbits.xml?view=auto&rev=106670
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.fbits/src/documentation/content/xdocs/fbits.xml
Fri Nov 26 15:38:43 2004
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+<document> 
+  <header> 
+    <title>fbits - general</title> 
+  </header> 
+  <body> 
+    <section>
+      <title>Example</title>
+      <p>function-bits or short fbits are capsulated functions that can be used 
+      in the site. A fbit contains following parts:</p>
+      <source><![CDATA[<contract name="{name-of-the-function}-fct" nc="{css-contract}"
tlc="{topLevelContainer}">
+  <description>
+    This functions ...
+  </description>
+  <xhtml>
+    <head>
+      <script type="text/javascript" language="javascript" 
+        src="{$root}skin/{script}.js"></script>
+    </head>
+    <body onload="init()">
+      <script type="text/javascript">something();</script>
+      <div id="{css-contract-name}">
+            CONTENT
+      </div>
+    </body>
+  </xhtml>
+  <pdf/>
+</contract>]]>
+      </source>
+      <p>Where the following declaration is used:</p>
+      <source><![CDATA[@name = name of the function contract
+@nc = name of the css-contract
+@tlc = the top level container to which this function semanticly belongs
+<xhtml/> = this code will be used in xhtml
+<pdf/> = this code will be used in pdf
+<head/> = if functions need to place code into the xhtml-head it has to go into this
container
+<body/> = if functions need to place code into the xhtml-body it has to go into this
container
+<script/> = the script, that has to be placed into 
+<div> = the actual div that should be used in the code]]></source>
+   </section>
+  </body>
+</document>

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.fbits/src/documentation/content/xdocs/index.xml
Url: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.fbits/src/documentation/content/xdocs/index.xml?view=diff&rev=106670&p1=forrest/trunk/plugins/org.apache.forrest.plugin.fbits/src/documentation/content/xdocs/index.xml&r1=106669&p2=forrest/trunk/plugins/org.apache.forrest.plugin.fbits/src/documentation/content/xdocs/index.xml&r2=106670
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.fbits/src/documentation/content/xdocs/index.xml
(original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.fbits/src/documentation/content/xdocs/index.xml
Fri Nov 26 15:38:43 2004
@@ -26,43 +26,19 @@
       html and then fo,...</p>
     </section>
     <section>
-      <title>Examples</title>
-      <p><a href="site:contracts">Contract</a> contains all fbits that
have been 
+      <title>Examples-fbits</title>
+      <p>The <a href="site:fbits/index">fbits</a> section shows an example
of a fbits.</p>
+      <p>The <a href="site:contracts">contract</a> contains all fbits that
have been 
       capsulated. It displays basic information and a description about the fbits contract.</p>
     </section>
     <section>
-      <title>fbits</title>
-      <p>function-bits or short fbits are capsulated functions that can be used 
-      in the site. A fbit contains following parts:</p>
-      <source><![CDATA[<contract name="{name-of-the-function}-fct" nc="{css-contract}"
tlc="{topLevelContainer}">
-  <description>
-    This functions ...
-  </description>
-  <xhtml>
-    <head>
-      <script type="text/javascript" language="javascript" 
-        src="{$root}skin/{script}.js"></script>
-    </head>
-    <body onload="init()">
-      <script type="text/javascript">something();</script>
-      <div id="{css-contract-name}">
-            CONTENT
-      </div>
-    </body>
-  </xhtml>
-  <pdf/>
-</contract>]]>
-      </source>
-      <p>Where the following declaration is used:</p>
-      <source><![CDATA[@name = name of the function contract
-@nc = name of the css-contract
-@tlc = the top level container to which this function semanticly belongs
-<xhtml/> = this code will be used in xhtml
-<pdf/> = this code will be used in pdf
-<head/> = if functions need to place code into the xhtml-head it has to go into this
container
-<body/> = if functions need to place code into the xhtml-body it has to go into this
container
-<script/> = the script, that has to be placed into 
-<div> = the actual div that should be used in the code]]></source>
-   </section>
+      <title>Pipeline</title>
+      <ol>
+        <li>check all aviable fct --result--><a href="site:contracts">contract</a></li>
+        <li>check which fct are needed --result--><a href="site:filter">filter</a></li>
+        <li>check where to place them</li>
+        <li>output the xhtml</li>
+      </ol>
+    </section>
   </body>
 </document>

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.fbits/src/documentation/content/xdocs/site.xml
Url: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.fbits/src/documentation/content/xdocs/site.xml?view=diff&rev=106670&p1=forrest/trunk/plugins/org.apache.forrest.plugin.fbits/src/documentation/content/xdocs/site.xml&r1=106669&p2=forrest/trunk/plugins/org.apache.forrest.plugin.fbits/src/documentation/content/xdocs/site.xml&r2=106670
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.fbits/src/documentation/content/xdocs/site.xml
(original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.fbits/src/documentation/content/xdocs/site.xml
Fri Nov 26 15:38:43 2004
@@ -37,13 +37,20 @@
     <changes label="Changes" href="changes.html" description="History of Changes" />
     <todo label="Todo" href="todo.html" description="Todo List" />
   </about>
-  <fbits label="fbits" >
-    <static-sample label="static-sample" href="static.get"/>
-    <contracts-dir-fbits label="contracts-dir-fbits" href="contracts-dir-fbits.get"/>
-    <contracts-dir-nuggets label="contracts-dir-nuggets" href="contracts-dir-nuggets.get"/>

-    <contracts label="contracts" href="contracts.get"/>
-    <ft label="ft" href="ft.get"/>
+  <fbits label="fbits" tab="fbits">
+    <index href="fbits.html" label="index"/>
+    <example label="examples">
+      <static-sample label="static-sample" href="static.get"/>
+      <contracts-dir-fbits label="contracts-dir-fbits" href="contracts-dir-fbits.get"/>
+      <contracts-dir-nuggets label="contracts-dir-nuggets" href="contracts-dir-nuggets.get"/>

+      <contracts label="contracts" href="contracts.get"/>
+      <ft label="ft" href="ft.get"/>
+    </example>
   </fbits>
+  <pipeline label="pipeline" tab="pipe">
+    <contracts label="contracts" href="contracts.get"/>
+    <filter label="filter" href="filter.get"/>
+  </pipeline>
   <!--
   The href must be wholesite.html/pdf  You can change the labels and node names
   <all label="All">

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.fbits/src/documentation/content/xdocs/tabs.xml
Url: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.fbits/src/documentation/content/xdocs/tabs.xml?view=diff&rev=106670&p1=forrest/trunk/plugins/org.apache.forrest.plugin.fbits/src/documentation/content/xdocs/tabs.xml&r1=106669&p2=forrest/trunk/plugins/org.apache.forrest.plugin.fbits/src/documentation/content/xdocs/tabs.xml&r2=106670
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.fbits/src/documentation/content/xdocs/tabs.xml
(original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.fbits/src/documentation/content/xdocs/tabs.xml
Fri Nov 26 15:38:43 2004
@@ -33,6 +33,8 @@
   -->
 
   <tab id="" label="Home" dir="" indexfile="index.html"/>
+  <tab label="fbits" id="fbits" indexfile="fbits.html" dir=""/>
+  <!--<tab label="pipeline" id="pipe" indexfile="" dir=""/>-->
   <!-- Add new tabs here, eg:
   <tab label="How-Tos" dir="community/howto/"/>
   <tab label="XML Site" dir="xml-site/"/>

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.fbits/src/documentation/skinconf.xml
Url: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.fbits/src/documentation/skinconf.xml?view=diff&rev=106670&p1=forrest/trunk/plugins/org.apache.forrest.plugin.fbits/src/documentation/skinconf.xml&r1=106669&p2=forrest/trunk/plugins/org.apache.forrest.plugin.fbits/src/documentation/skinconf.xml&r2=106670
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.fbits/src/documentation/skinconf.xml	(original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.fbits/src/documentation/skinconf.xml	Fri
Nov 26 15:38:43 2004
@@ -251,40 +251,34 @@
     <color name="footer" value="#ffffff"/>
 -->
  <!-- Lenya using pelt-->
-<!--
+
     <color name="header" value="#ffffff"/>
 
-    <color name="tab-selected" value="#4C6C8F" link="#ffffff" vlink="#ffffff" hlink="#ffffff"/>
-    <color name="tab-unselected" value="#E5E4D9" link="#000000" vlink="#000000" hlink="#000000"/>
+    <color name="tab-selected" value="#E5E4D9" link="#000000" vlink="#000000" hlink="#000000"/>
+    <color name="tab-unselected" value="#F5F4E9" link="#000000" vlink="#000000" hlink="#000000"/>
     <color name="subtab-selected" value="#000000" link="#000000" vlink="#000000" hlink="#000000"/>
     <color name="subtab-unselected" value="#E5E4D9" link="#000000" vlink="#000000" hlink="#000000"/>
 
     <color name="heading" value="#E5E4D9"/>
-    <color name="subheading" value="#000000"/>
-    <color name="published" value="#4C6C8F" font="#FFFFFF"/>
-    <color name="feedback" value="#4C6C8F" font="#FFFFFF" align="center"/>
+    <color name="subheading" value="#E5E4D9"/>
+    <color name="published" value="#000000"/>
     <color name="navstrip" value="#E5E4D9" font="#000000"/>
-
     <color name="toolbox" value="#CFDCED" font="#000000"/>
-
     <color name="border" value="#999999"/>
-    <color name="menu" value="#4C6C8F" font="#ffffff" link="#ffffff" vlink="#ffffff" hlink="#ffffff"
current="#FFCC33" />    
-    <color name="menuheading" value="#cfdced" font="#000000" />
-    <color name="searchbox" value="#E5E4D9" font="#000000"/>
-    
+
+    <color name="menu" value="#E5E4D9" font="#000000" link="#000000" vlink="#000000" hlink="#000000"/>
     <color name="dialog" value="#CFDCED"/>
-    <color name="body" value="#ffffff" />            
-    
-    <color name="table" value="#ccc"/>    
-    <color name="table-cell" value="#ffffff"/>   
+    <color name="body" value="#ffffff" />
+
+    <color name="table" value="#ccc"/>
+    <color name="table-cell" value="#ffffff"/>
     <color name="highlight" value="#ffff00"/>
     <color name="fixme" value="#cc6600"/>
     <color name="note" value="#006699"/>
     <color name="warning" value="#990000"/>
     <color name="code" value="#003366"/>
-        
+
     <color name="footer" value="#E5E4D9"/>
--->
   </colors>
  
   <!-- Settings specific to PDF output. -->

Mime
View raw message