forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r385753 - in /forrest/trunk/whiteboard/doco: ./ content/ content/authoring/ content/authoring/index/ content/authoring/index/anotherTest/ content/authoring/index/jeje/ content/trash/
Date Tue, 14 Mar 2006 08:10:13 GMT
Author: thorsten
Date: Tue Mar 14 00:10:11 2006
New Revision: 385753

URL: http://svn.apache.org/viewcvs?rev=385753&view=rev
Log:
Initial version of doco as lenya pub and forrest docu

Added:
    forrest/trunk/whiteboard/doco/
    forrest/trunk/whiteboard/doco/content/
    forrest/trunk/whiteboard/doco/content/authoring/
    forrest/trunk/whiteboard/doco/content/authoring/common.fv   (with props)
    forrest/trunk/whiteboard/doco/content/authoring/index/
    forrest/trunk/whiteboard/doco/content/authoring/index.xml   (with props)
    forrest/trunk/whiteboard/doco/content/authoring/index/anotherTest/
    forrest/trunk/whiteboard/doco/content/authoring/index/index_en.xml   (with props)
    forrest/trunk/whiteboard/doco/content/authoring/index/index_en.xml.meta
    forrest/trunk/whiteboard/doco/content/authoring/index/jeje/
    forrest/trunk/whiteboard/doco/content/authoring/site.xml.bck
    forrest/trunk/whiteboard/doco/content/authoring/sitetree.xml   (with props)
    forrest/trunk/whiteboard/doco/content/authoring/tabs.xml   (with props)
    forrest/trunk/whiteboard/doco/content/locationmap.xml   (with props)
    forrest/trunk/whiteboard/doco/content/trash/
    forrest/trunk/whiteboard/doco/content/trash/sitetree.xml   (with props)
    forrest/trunk/whiteboard/doco/forrest.properties   (with props)

Added: forrest/trunk/whiteboard/doco/content/authoring/common.fv
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/doco/content/authoring/common.fv?rev=385753&view=auto
==============================================================================
--- forrest/trunk/whiteboard/doco/content/authoring/common.fv (added)
+++ forrest/trunk/whiteboard/doco/content/authoring/common.fv Tue Mar 14 00:10:11 2006
@@ -0,0 +1,92 @@
+<?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.
+-->
+  
+<forrest:views 
+  xmlns:forrest="http://apache.org/forrest/templates/1.0"
+  xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
+  <!-- The following variables are used to contact data models and/or contracts. -->
+  <jx:set var="getRequest" value="#{$cocoon/parameters/getRequest}"/>
+  <jx:set var="getRequestExtension" value="#{$cocoon/parameters/getRequestExtension}"
/>
+  <forrest:view type="html" hooksXpath="/html/body">
+    <!-- 
+        @type defines this structurer to html.
+        @hooksXpath defines where all hooks will be injected (as prefix).
+        -->
+    <forrest:contract name="branding-css-links">
+      <!-- More information around this contract
+        http://marc.theaimsgroup.com/?l=forrest-dev&m=113473237805195&w=2
+        -->
+      <!--Note: The forrest:properties element does not exit anymore (in comparison to
a previous versions) -->
+      <forrest:property name="branding-css-links-input">
+        <css url="common.css"/>
+        <css>
+          #page{background-color:white;}
+        </css>
+      </forrest:property>
+    </forrest:contract>
+    <forrest:contract name="siteinfo-meta" dataURI="lm://project.build-info">
+      <forrest:property name="custom">
+        <meta http-equiv="content-type" content="text/html, charset=UTF-8"/>
+      </forrest:property>
+    </forrest:contract>
+    <!--
+        nuggets (extra data requested by the contract) are now defined in the contract element.

+        As well the former @nugget is now called @dataURI to reflect better the function
of the attribute.
+      -->
+    <forrest:hook name="container">
+      <forrest:hook name="header">
+        <forrest:contract name="branding-tagline">
+          <forrest:property name="branding-tagline-name">docu (united 
+            forrest/lenya)</forrest:property>
+          <forrest:property name="branding-tagline-tagline">powered by the 
+            dispatcher </forrest:property>
+        </forrest:contract>
+      </forrest:hook>
+      <forrest:hook name="nav-main-hook">
+        <forrest:contract name="nav-main" 
+          dataURI="cocoon://#{$getRequest}.navigation.xml"/>
+        <forrest:contract name="nav-main-sub" 
+          dataURI="cocoon://#{$getRequest}.navigation.xml"/>
+      </forrest:hook>
+      <forrest:hook name="page">
+        <forrest:hook name="leftbar">
+          <forrest:contract name="nav-section" 
+            dataURI="cocoon://#{$getRequest}.navigation.xml">
+          </forrest:contract>
+        </forrest:hook>
+        <forrest:hook name="content">
+          <forrest:hook name="content-main">
+            <forrest:contract name="genericXhtml" 
+              dataURI="cocoon://#{$getRequest}.xml"/>
+          </forrest:hook>
+        </forrest:hook>
+      </forrest:hook>
+      <forrest:hook name="footer">
+        <forrest:contract name="siteinfo-feedback">
+          <forrest:property name="siteinfo-feedback">
+            <feedback to="webmaster@foo.com" 
+              href="mailto:webmaster@foo.com?subject=Feedback&#160;" > Send 
+              feedback about the website to: </feedback>
+          </forrest:property>
+        </forrest:contract>
+        <forrest:contract name="siteinfo-last-published"/>
+      </forrest:hook>
+    </forrest:hook>
+    
+  </forrest:view>
+</forrest:views>

Propchange: forrest/trunk/whiteboard/doco/content/authoring/common.fv
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/doco/content/authoring/index.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/doco/content/authoring/index.xml?rev=385753&view=auto
==============================================================================
--- forrest/trunk/whiteboard/doco/content/authoring/index.xml (added)
+++ forrest/trunk/whiteboard/doco/content/authoring/index.xml Tue Mar 14 00:10:11 2006
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml"
xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0">
+  <head>
+    <title>Doco</title>
+  </head>
+  <body>
+    <h1>Welcome to docu</h1>
+    <p>This publication is created with the aim to be a generic documentation 
+      publication for Apache wide usage.</p>
+    <p>The first projects to test it are the Apache Forrest and the Apache 
+      Lenya project.</p>
+    <p>The idea is to manage the content via the Apache Lenya CMS and export it 
+      via Apache Forrest.</p>
+    <h2>Installing</h2>
+    <p>See <a 
+      href="https://svn.apache.org/repos/asf/lenya/sandbox/doco/README.txt">README</a>

+      </p>
+  </body>
+</html>

Propchange: forrest/trunk/whiteboard/doco/content/authoring/index.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/doco/content/authoring/index/index_en.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/doco/content/authoring/index/index_en.xml?rev=385753&view=auto
==============================================================================
--- forrest/trunk/whiteboard/doco/content/authoring/index/index_en.xml (added)
+++ forrest/trunk/whiteboard/doco/content/authoring/index/index_en.xml Tue Mar 14 00:10:11
2006
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
+  <head>
+    <title>Default Publication</title>
+  </head>
+  <body>
+    <h1>Default Publication</h1>
+    <p>Welcome to the default Lenya publication!</p>
+    <p>The purpose of this publication is</p>
+    <ul>
+      <li>to show beginners the basic functionality of the Lenya CMS,</li>
+      <li>to provide an "out of the box" publication that can be easily adapted and
used, and</li>
+      <li>to provide a basis for reference implementations of new concepts and best
practices.</li>
+    </ul>
+    <p>
+    You won't find any fancy and confusing bells and whistles here, but the
+    publication contains everything you need to get started.
+    </p>
+  </body>
+</html>

Propchange: forrest/trunk/whiteboard/doco/content/authoring/index/index_en.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/doco/content/authoring/index/index_en.xml.meta
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/doco/content/authoring/index/index_en.xml.meta?rev=385753&view=auto
==============================================================================
--- forrest/trunk/whiteboard/doco/content/authoring/index/index_en.xml.meta (added)
+++ forrest/trunk/whiteboard/doco/content/authoring/index/index_en.xml.meta Tue Mar 14 00:10:11
2006
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<lenya:document xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0">
+<lenya:meta>
+<lenya:custom>
+<lenya:myMeta/>
+</lenya:custom>
+<lenya:dc>
+<dc:title xmlns:dc="http://purl.org/dc/elements/1.1/">doco</dc:title>
+<dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">lenya</dc:creator>
+<dc:subject xmlns:dc="http://purl.org/dc/elements/1.1/"/>
+<dc:publisher xmlns:dc="http://purl.org/dc/elements/1.1/"/>
+<dc:date xmlns:dc="http://purl.org/dc/elements/1.1/">2006-03-14 02:19:13</dc:date>
+<dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">en</dc:language>
+<dc:rights xmlns:dc="http://purl.org/dc/elements/1.1/"/>
+</lenya:dc>
+<lenya:internal>
+<lenya:resourceType>xhtml</lenya:resourceType>
+<lenya:contentType>xml</lenya:contentType>
+<lenya:extension>xml</lenya:extension>
+</lenya:internal>
+</lenya:meta>
+</lenya:document>

Added: forrest/trunk/whiteboard/doco/content/authoring/site.xml.bck
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/doco/content/authoring/site.xml.bck?rev=385753&view=auto
==============================================================================
--- forrest/trunk/whiteboard/doco/content/authoring/site.xml.bck (added)
+++ forrest/trunk/whiteboard/doco/content/authoring/site.xml.bck Tue Mar 14 00:10:11 2006
@@ -0,0 +1,55 @@
+<?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.
+-->
+
+<!--
+Forrest site.xml
+
+This file contains an outline of the site's information content.  It is used to:
+- Generate the website menus (though these can be overridden - see docs)
+- Provide semantic, location-independent aliases for internal 'site:' URIs, eg
+<link href="site:changes"> links to changes.html (or ../changes.html if in
+  subdir).
+- Provide aliases for external URLs in the external-refs section.  Eg, <link
+  href="ext:cocoon"> links to http://cocoon.apache.org/ 
+
+See http://forrest.apache.org/docs/linking.html for more info
+-->
+
+<!-- The label attribute of the outer "site" element will only show
+  in the linkmap (linkmap.html).
+  Use elements project-name and group-name in skinconfig to change name of 
+  your site or project that is usually shown at the top of page.
+  No matter what you configure for the href attribute, Forrest will
+  always use index.html when you request http://yourHost/
+  See FAQ: "How can I use a start-up-page other than index.html?"
+-->
+
+<site label="MyProj" href="" xmlns="http://apache.org/forrest/linkmap/1.0" tab="home">
+  <index label="Index" href="index/">
+    <index label="Index" href="index_en.html" description="Welcome to docu"/>
+  </index>
+
+  
+
+  <external-refs>
+    <forrest href="http://forrest.apache.org/">
+      <linking href="docs/linking.html"/>
+    </forrest>
+  </external-refs>
+
+</site>

Added: forrest/trunk/whiteboard/doco/content/authoring/sitetree.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/doco/content/authoring/sitetree.xml?rev=385753&view=auto
==============================================================================
--- forrest/trunk/whiteboard/doco/content/authoring/sitetree.xml (added)
+++ forrest/trunk/whiteboard/doco/content/authoring/sitetree.xml Tue Mar 14 00:10:11 2006
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<site xmlns="http://apache.org/cocoon/lenya/sitetree/1.0" 
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+  xsi:schemaLocation="http://apache.org/cocoon/lenya/sitetree/1.0  ../../../../resources/entities/sitetree.xsd">
+  <node id="index" visibleinnav="true">
+    <label xml:lang="en">doco</label>
+  </node>
+</site>
\ No newline at end of file

Propchange: forrest/trunk/whiteboard/doco/content/authoring/sitetree.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/doco/content/authoring/tabs.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/doco/content/authoring/tabs.xml?rev=385753&view=auto
==============================================================================
--- forrest/trunk/whiteboard/doco/content/authoring/tabs.xml (added)
+++ forrest/trunk/whiteboard/doco/content/authoring/tabs.xml Tue Mar 14 00:10:11 2006
@@ -0,0 +1,42 @@
+<?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 tabs PUBLIC "-//APACHE//DTD Cocoon Documentation Tab V1.1//EN" "http://forrest.apache.org/dtd/tab-cocoon-v11.dtd">
+
+<tabs software="MyProj"
+  title="MyProj"
+  copyright="Foo"
+  xmlns:xlink="http://www.w3.org/1999/xlink">
+
+  <!-- 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.
+
+   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="" indexfile="index.html"/>
+  <!-- Add new tabs here, eg:
+  <tab label="How-Tos" dir="community/howto/"/>
+  <tab label="XML Site" dir="xml-site/"/>
+  -->
+
+</tabs>

Propchange: forrest/trunk/whiteboard/doco/content/authoring/tabs.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/doco/content/locationmap.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/doco/content/locationmap.xml?rev=385753&view=auto
==============================================================================
--- forrest/trunk/whiteboard/doco/content/locationmap.xml (added)
+++ forrest/trunk/whiteboard/doco/content/locationmap.xml Tue Mar 14 00:10:11 2006
@@ -0,0 +1,33 @@
+<?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.
+-->
+
+<locationmap xmlns="http://apache.org/forrest/locationmap/1.0">
+
+  <components>
+    <matchers default="lm">
+      <matcher name="lm"
+          src="org.apache.forrest.locationmap.WildcardLocationMapHintMatcher"/>
+    </matchers>
+  </components>
+
+  <locator>		
+    <match pattern="project.xml.site">
+      <location src="cocoon://doco-site.xml"/>
+    </match>
+  </locator>
+</locationmap>
\ No newline at end of file

Propchange: forrest/trunk/whiteboard/doco/content/locationmap.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/doco/content/trash/sitetree.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/doco/content/trash/sitetree.xml?rev=385753&view=auto
==============================================================================
--- forrest/trunk/whiteboard/doco/content/trash/sitetree.xml (added)
+++ forrest/trunk/whiteboard/doco/content/trash/sitetree.xml Tue Mar 14 00:10:11 2006
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<site xmlns="http://apache.org/cocoon/lenya/sitetree/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://apache.org/cocoon/lenya/sitetree/1.0  ../../../../resources/entities/sitetree.xsd">
+</site>

Propchange: forrest/trunk/whiteboard/doco/content/trash/sitetree.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/doco/forrest.properties
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/doco/forrest.properties?rev=385753&view=auto
==============================================================================
--- forrest/trunk/whiteboard/doco/forrest.properties (added)
+++ forrest/trunk/whiteboard/doco/forrest.properties Tue Mar 14 00:10:11 2006
@@ -0,0 +1,42 @@
+# Copyright 2002-2004 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.
+
+##############
+# Properties used by forrest.build.xml for building the website
+##############
+project.name=forrest-docu
+
+#project.skin=Don't specify a skin for Forrest, we will always use the 
+#             default one defined in main/webapp/default-forrest.properties
+project.content-dir=content
+project.xdocs-dir=${project.content-dir}/authoring
+project.raw-content-dir=${project.content-dir}
+#project.configfile=${project.home}/conf/cli.xconf
+#project.skinconf=${project.content-dir}/skinconf.xml
+
+project.bugtracking-url=http://issues.apache.org/jira/browse/
+project.issues-rss-url=http://issues.apache.org/jira/secure/IssueNavigator.jspa?view=rss&pid=12310000&fixfor=12310040&resolutionIds=-1&sorter/field=priority&sorter/order=DESC&tempMax=25&reset=true&decorator=none
+
+# The URL to start crawling from
+#project.start-uri=linkmap.html
+
+# The names of plugins that are required to build the project
+# comma separated list (no spaces)
+# Run "forrest available-plugins" for a list of plug-ins currently available
+project.required.plugins=org.apache.forrest.plugin.internal.dispatcher,org.apache.forrest.themes.core,org.apache.forrest.plugin.input.Lenya
+
+# Max memory to allocate to Java
+# FIXME: See issue FOR-572
+forrest.maxmemory=128m

Propchange: forrest/trunk/whiteboard/doco/forrest.properties
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message