forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r328835 - in /forrest/trunk/main/template-sites/v2: ./ src/documentation/content/xdocs/ src/documentation/content/xdocs/samples/ src/documentation/resources/themes/default/ src/documentation/resources/themes/default/css/ src/documentation/r...
Date Thu, 27 Oct 2005 09:20:48 GMT
Author: thorsten
Date: Thu Oct 27 02:20:35 2005
New Revision: 328835

URL: http://svn.apache.org/viewcvs?rev=328835&view=rev
Log:
Restructured the v2 seed to add test section. Here we can add some test like the toc test
that tests whether the linking between toc and document is working. Set up of basic theme
structur for the seed.

Added:
    forrest/trunk/main/template-sites/v2/src/documentation/content/xdocs/samples/test-toc.xml
  (with props)
    forrest/trunk/main/template-sites/v2/src/documentation/resources/themes/default/
    forrest/trunk/main/template-sites/v2/src/documentation/resources/themes/default/css/
    forrest/trunk/main/template-sites/v2/src/documentation/resources/themes/default/html/
    forrest/trunk/main/template-sites/v2/src/documentation/resources/themes/default/js/
Modified:
    forrest/trunk/main/template-sites/v2/forrest.properties
    forrest/trunk/main/template-sites/v2/src/documentation/content/xdocs/index.xml
    forrest/trunk/main/template-sites/v2/src/documentation/content/xdocs/site.xml
    forrest/trunk/main/template-sites/v2/src/documentation/content/xdocs/tabs.xml

Modified: forrest/trunk/main/template-sites/v2/forrest.properties
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/template-sites/v2/forrest.properties?rev=328835&r1=328834&r2=328835&view=diff
==============================================================================
--- forrest/trunk/main/template-sites/v2/forrest.properties (original)
+++ forrest/trunk/main/template-sites/v2/forrest.properties Thu Oct 27 02:20:35 2005
@@ -150,7 +150,7 @@
 #forrest.jvmargs=
 
 # Debug forrest on PORT 8000
- #forrest.jvmargs=-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
+ forrest.jvmargs=-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
 
 # The bugtracking URL - the issue number will be appended
 #project.bugtracking-url=http://issues.apache.org/bugzilla/show_bug.cgi?id=

Modified: forrest/trunk/main/template-sites/v2/src/documentation/content/xdocs/index.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/template-sites/v2/src/documentation/content/xdocs/index.xml?rev=328835&r1=328834&r2=328835&view=diff
==============================================================================
--- forrest/trunk/main/template-sites/v2/src/documentation/content/xdocs/index.xml (original)
+++ forrest/trunk/main/template-sites/v2/src/documentation/content/xdocs/index.xml Thu Oct
27 02:20:35 2005
@@ -18,13 +18,13 @@
 <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
 <document> 
   <header> 
-    <title>Welcome to MyProj</title> 
+    <title>Welcome to MyProj based on v2</title> 
   </header> 
   <body> 
     <section id="overview">
       <title>Congratulations</title>
       <p>You have successfully generated and rendered an <a
-          href="ext:forrest">Apache Forrest</a> site.
+          href="ext:forrest">Apache Forrest</a> site based on v2.
         This page is from the blank site template. It is found in
         <code>src/documentation/content/xdocs/index.xml</code>
         Please edit it and replace this text with content of your own.</p>

Added: forrest/trunk/main/template-sites/v2/src/documentation/content/xdocs/samples/test-toc.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/template-sites/v2/src/documentation/content/xdocs/samples/test-toc.xml?rev=328835&view=auto
==============================================================================
--- forrest/trunk/main/template-sites/v2/src/documentation/content/xdocs/samples/test-toc.xml
(added)
+++ forrest/trunk/main/template-sites/v2/src/documentation/content/xdocs/samples/test-toc.xml
Thu Oct 27 02:20:35 2005
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2005 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  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>test-toc page</title> 
+  </header> 
+  <body> 
+    <section id="overview">
+      <title>test-toc</title>
+      <p>This page shows the test-toc.</p>
+    </section>
+    <section>
+      <title>test1 space</title>
+      <p>just a test1</p>
+    </section>
+    <section >
+      <title>test2</title>
+      <p>just a test2a</p>
+    </section>
+    <section >
+      <title>test2</title>
+      <p>just a test2b</p>
+    </section>
+  </body>
+</document>

Propchange: forrest/trunk/main/template-sites/v2/src/documentation/content/xdocs/samples/test-toc.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: forrest/trunk/main/template-sites/v2/src/documentation/content/xdocs/site.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/template-sites/v2/src/documentation/content/xdocs/site.xml?rev=328835&r1=328834&r2=328835&view=diff
==============================================================================
--- forrest/trunk/main/template-sites/v2/src/documentation/content/xdocs/site.xml (original)
+++ forrest/trunk/main/template-sites/v2/src/documentation/content/xdocs/site.xml Thu Oct
27 02:20:35 2005
@@ -15,7 +15,6 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-
 <!--
 Forrest site.xml
 
@@ -29,26 +28,35 @@
 
 See http://forrest.apache.org/docs/linking.html for more info
 -->
-
-<site label="MyProj" href="" xmlns="http://apache.org/forrest/linkmap/1.0" tab="">
-   <!-- Note: No matter what you configure here, Forrest will always try to load
+<site label="MyProj" href="" xmlns="http://apache.org/forrest/linkmap/1.0" 
+  tab="">
+  <!-- Note: No matter what you configure here, Forrest will always try to load
        index.html when you request http://yourHost/.
        'How can I use a start-up-page other than index.html?' in the FAQs has more 
        information tells you how to change that. 
    -->
   <about label="About" tab="home">
-    <index label="Index" href="index.html" description="Welcome to MyProj"/>
-    <ls.contracts label="ls.contracts" href="ls.contracts.html" 
-        description="All contracts that you can use in your project"/>
+    <index label="Index" href="index.html" 
+      description="Welcome to MyProj based on v2"/>
   </about>
-  <samples label="Samples" tab="samples">
-    <sample label="Overview" href="index.html" description="Some samples around v2"/>
-  </samples>
-
+  <samples-tests label="Samples/Tests" tab="samples">
+    <samples label="samples">
+      <sample-index label="Overview" href="samples/index.html" 
+        description="Some samples around v2"/>
+      <ls.contracts label="ls.contracts" href="ls.contracts.html" 
+        description="All contracts that you can use in your project provided by forrest."/>
+      <ls.contracts label="ls.contracts.project" 
+        href="ls.contracts.project.html" 
+        description="All contracts that you can use in your project provided by yourself."/>
+    </samples>
+    <tests label="tests">
+      <test-toc label="test-toc" href="samples/test-toc.html" 
+        description="test-toc - test around the toc generation"/>
+    </tests>
+  </samples-tests>
   <external-refs>
     <forrest href="http://forrest.apache.org/">
       <linking href="docs/linking.html"/>
     </forrest>
   </external-refs>
-
-</site>
+</site>
\ No newline at end of file

Modified: forrest/trunk/main/template-sites/v2/src/documentation/content/xdocs/tabs.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/template-sites/v2/src/documentation/content/xdocs/tabs.xml?rev=328835&r1=328834&r2=328835&view=diff
==============================================================================
--- forrest/trunk/main/template-sites/v2/src/documentation/content/xdocs/tabs.xml (original)
+++ forrest/trunk/main/template-sites/v2/src/documentation/content/xdocs/tabs.xml Thu Oct
27 02:20:35 2005
@@ -34,7 +34,7 @@
   -->
 
   <tab id="home" label="Home" dir="" indexfile="index.html"/>
-  <tab label="Samples" dir="samples/" indexfile="index.html"/>
+  <tab id="samples" label="Samples/Tests" dir="samples/" indexfile="index.html"/>
   <!-- Add new tabs here, eg:
   <tab label="How-Tos" dir="community/howto/"/>
   <tab label="XML Site" dir="xml-site/"/>



Mime
View raw message