Author: reinhard
Date: Mon Feb 21 08:15:38 2005
New Revision: 154685
URL: http://svn.apache.org/viewcvs?view=rev&rev=154685
Log:
create a documentation repository for the Cocoon Portal (showing how block
documentation can be integrated)
Added:
cocoon/whiteboard/doc-repos/portal-block/
cocoon/whiteboard/doc-repos/portal-block/forrest.properties (with props)
cocoon/whiteboard/doc-repos/portal-block/src/
cocoon/whiteboard/doc-repos/portal-block/src/documentation/
cocoon/whiteboard/doc-repos/portal-block/src/documentation/classes/
cocoon/whiteboard/doc-repos/portal-block/src/documentation/classes/CatalogManager.properties
(with props)
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/no-comments.xml
(with props)
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/getting-started/
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/getting-started/content_en.html
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/getting-started/meta.xml
(with props)
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/images/
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/images/built-with-cocoon.gif
(with props)
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/images/cocoon-logo.gif
(with props)
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/images/cocoon-project-logo.png
(with props)
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/images/cocoon.ico
(with props)
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/images/icon.png
(with props)
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/images/portal-logo.gif
(with props)
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/index/
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/index/content_en.xml
(with props)
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/index/meta.xml
(with props)
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/site.xml
(with props)
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/tabs.xml
(with props)
cocoon/whiteboard/doc-repos/portal-block/src/documentation/resources/
cocoon/whiteboard/doc-repos/portal-block/src/documentation/resources/stylesheets/
cocoon/whiteboard/doc-repos/portal-block/src/documentation/resources/stylesheets/correct-img-links.xsl
(with props)
cocoon/whiteboard/doc-repos/portal-block/src/documentation/resources/stylesheets/doc-aggregate2v12.xsl
cocoon/whiteboard/doc-repos/portal-block/src/documentation/sitemap.xmap
(with props)
cocoon/whiteboard/doc-repos/portal-block/src/documentation/skinconf.xml
cocoon/whiteboard/doc-repos/portal-block/status.xml (with props)
Added: cocoon/whiteboard/doc-repos/portal-block/forrest.properties
URL:
http://svn.apache.org/viewcvs/cocoon/whiteboard/doc-repos/portal-block/forrest.properties?view=auto&rev=154685
==============================================================================
--- cocoon/whiteboard/doc-repos/portal-block/forrest.properties (added)
+++ cocoon/whiteboard/doc-repos/portal-block/forrest.properties Mon Feb 21
08:15:38 2005
@@ -0,0 +1,104 @@
+# 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.
+
+##############
+# Properties used by forrest.build.xml for building the website
+# These are the defaults, un-comment them if you need to change them.
+##############
+
+# Prints out a summary of Forrest settings for this project
+#forrest.echo=true
+
+# Project name (used to name .war file)
+#project.name=my-project
+
+# Specifies name of Forrest skin to use
+#project.skin=tigris
+#project.skin=pelt
+
+# comma separated list, file:// is supported
+#forrest.skins.descriptors=http://forrest.apache.org/skins/skins.xml,file:///c:/myskins/skins.xml
+
+##############
+# behavioural properties
+#project.menu-scheme=tab_attributes
+#project.menu-scheme=directories
+
+##############
+# layout properties
+
+# Properties that can be set to override the default locations
+#
+# Parent properties must be set. This usually means uncommenting
+# project.content-dir if any other property using it is uncommented
+
+#project.status=status.xml
+#project.content-dir=src/documentation
+#project.raw-content-dir=${project.content-dir}/content
+#project.conf-dir=${project.content-dir}/conf
+#project.sitemap-dir=${project.content-dir}
+#project.xdocs-dir=${project.content-dir}/content/xdocs
+#project.resources-dir=${project.content-dir}/resources
+#project.stylesheets-dir=${project.resources-dir}/stylesheets
+#project.images-dir=${project.resources-dir}/images
+#project.schema-dir=${project.resources-dir}/schema
+#project.skins-dir=${project.content-dir}/skins
+#project.skinconf=${project.content-dir}/skinconf.xml
+#project.lib-dir=${project.content-dir}/lib
+#project.classes-dir=${project.content-dir}/classes
+#project.translations-dir=${project.content-dir}/translations
+
+##############
+# validation properties
+
+# This set of properties determine if validation is performed
+# Values are inherited unless overridden.
+# e.g. if forrest.validate=false then all others are false unless set to true.
+#forrest.validate=true
+#forrest.validate.xdocs=${forrest.validate}
+#forrest.validate.skinconf=${forrest.validate}
+#forrest.validate.sitemap=${forrest.validate}
+#forrest.validate.stylesheets=${forrest.validate}
+#forrest.validate.skins=${forrest.validate}
+#forrest.validate.skins.stylesheets=${forrest.validate.skins}
+
+# *.failonerror=(true|false) - stop when an XML file is invalid
+#forrest.validate.failonerror=true
+
+# *.excludes=(pattern) - comma-separated list of path patterns to not validate
+# e.g.
+#forrest.validate.xdocs.excludes=samples/subdir/**, samples/faq.xml
+#forrest.validate.xdocs.excludes=
+
+
+##############
+# General Forrest properties
+
+# The URL to start crawling from
+#project.start-uri=linkmap.html
+# Set logging level for messages printed to the console
+# (DEBUG, INFO, WARN, ERROR, FATAL_ERROR)
+#project.debuglevel=ERROR
+# Max memory to allocate to Java
+#forrest.maxmemory=64m
+# Any other arguments to pass to the JVM. For example, to run on an X-less
+# server, set to -Djava.awt.headless=true
+#forrest.jvmargs=
+# The bugtracking URL - the issue number will be appended
+#project.bugtracking-url=http://issues.apache.org/bugzilla/show_bug.cgi?id=
+#project.bugtracking-url=http://issues.apache.org/jira/browse/
+# The issues list as rss
+#project.issues-rss-url=
+#I18n Property only works for the "forrest run" target.
+#project.i18n=true
Propchange: cocoon/whiteboard/doc-repos/portal-block/forrest.properties
------------------------------------------------------------------------------
svn:eol-style = native
Added:
cocoon/whiteboard/doc-repos/portal-block/src/documentation/classes/CatalogManager.properties
URL:
http://svn.apache.org/viewcvs/cocoon/whiteboard/doc-repos/portal-block/src/documentation/classes/CatalogManager.properties?view=auto&rev=154685
==============================================================================
---
cocoon/whiteboard/doc-repos/portal-block/src/documentation/classes/CatalogManager.properties
(added)
+++
cocoon/whiteboard/doc-repos/portal-block/src/documentation/classes/CatalogManager.properties
Mon Feb 21 08:15:38 2005
@@ -0,0 +1,37 @@
+# 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.
+
+#=======================================================================
+# CatalogManager.properties
+#
+# This is the default properties file for Apache Forrest.
+# This facilitates local configuration of application-specific catalogs.
+#
+# See the Apache Forrest documentation:
+# http://forrest.apache.org/docs/your-project.html
+# http://forrest.apache.org/docs/validation.html
+
+# verbosity ... level of messages for status/debug
+# See forrest/src/core/context/WEB-INF/cocoon.xconf
+
+# catalogs ... list of additional catalogs to load
+# (Note that Apache Forrest will automatically load its own default catalog
+# from src/core/context/resources/schema/catalog.xcat)
+# use full pathnames
+# pathname separator is always semi-colon (;) regardless of operating system
+# directory separator is always slash (/) regardless of operating system
+#
+#catalogs=/home/me/forrest/my-site/src/documentation/resources/schema/catalog.xcat
+catalogs=
+
Propchange:
cocoon/whiteboard/doc-repos/portal-block/src/documentation/classes/CatalogManager.properties
------------------------------------------------------------------------------
svn:eol-style = native
Added:
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/no-comments.xml
URL:
http://svn.apache.org/viewcvs/cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/no-comments.xml?view=auto&rev=154685
==============================================================================
---
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/no-comments.xml
(added)
+++
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/no-comments.xml
Mon Feb 21 08:15:38 2005
@@ -0,0 +1 @@
+<comments/>
\ No newline at end of file
Propchange:
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/no-comments.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added:
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/getting-started/content_en.html
URL:
http://svn.apache.org/viewcvs/cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/getting-started/content_en.html?view=auto&rev=154685
==============================================================================
---
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/getting-started/content_en.html
(added)
+++
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/getting-started/content_en.html
Mon Feb 21 08:15:38 2005
@@ -0,0 +1,20 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
+<html><head><!--
+ 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.
+--><title>Interpreted HTML (ihtml) demonstration page</title></head>
+
+
+<body>getting-started<br>
+</body></html>
\ No newline at end of file
Added:
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/getting-started/meta.xml
URL:
http://svn.apache.org/viewcvs/cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/getting-started/meta.xml?view=auto&rev=154685
==============================================================================
---
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/getting-started/meta.xml
(added)
+++
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/getting-started/meta.xml
Mon Feb 21 08:15:38 2005
@@ -0,0 +1,6 @@
+<?xml version="1.0"?>
+<meta>
+ <authors>
+ <author contact="http://www.poetz.cc">Reinhard Poetz</author>
+ </authors>
+</meta>
Propchange:
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/getting-started/meta.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added:
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/images/built-with-cocoon.gif
URL:
http://svn.apache.org/viewcvs/cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/images/built-with-cocoon.gif?view=auto&rev=154685
==============================================================================
Binary file - no diff available.
Propchange:
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/images/built-with-cocoon.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/images/cocoon-logo.gif
URL:
http://svn.apache.org/viewcvs/cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/images/cocoon-logo.gif?view=auto&rev=154685
==============================================================================
Binary file - no diff available.
Propchange:
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/images/cocoon-logo.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/images/cocoon-project-logo.png
URL:
http://svn.apache.org/viewcvs/cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/images/cocoon-project-logo.png?view=auto&rev=154685
==============================================================================
Binary file - no diff available.
Propchange:
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/images/cocoon-project-logo.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/images/cocoon.ico
URL:
http://svn.apache.org/viewcvs/cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/images/cocoon.ico?view=auto&rev=154685
==============================================================================
Binary file - no diff available.
Propchange:
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/images/cocoon.ico
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/images/icon.png
URL:
http://svn.apache.org/viewcvs/cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/images/icon.png?view=auto&rev=154685
==============================================================================
Binary file - no diff available.
Propchange:
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/images/icon.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/images/portal-logo.gif
URL:
http://svn.apache.org/viewcvs/cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/images/portal-logo.gif?view=auto&rev=154685
==============================================================================
Binary file - no diff available.
Propchange:
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/images/portal-logo.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added:
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/index/content_en.xml
URL:
http://svn.apache.org/viewcvs/cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/index/content_en.xml?view=auto&rev=154685
==============================================================================
---
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/index/content_en.xml
(added)
+++
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/index/content_en.xml
Mon Feb 21 08:15:38 2005
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+<html>
+ <head>
+ <title>Cocoon global docs</title>
+ </head>
+ <body>
+ <h1>Global docs</h1>
+ </body>
+</html>
Propchange:
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/index/content_en.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added:
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/index/meta.xml
URL:
http://svn.apache.org/viewcvs/cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/index/meta.xml?view=auto&rev=154685
==============================================================================
---
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/index/meta.xml
(added)
+++
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/index/meta.xml
Mon Feb 21 08:15:38 2005
@@ -0,0 +1,6 @@
+<?xml version="1.0"?>
+<meta>
+ <authors>
+ <author contact="http://www.poetz.cc">Reinhard Poetz</author>
+ </authors>
+</meta>
Propchange:
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/index/meta.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added:
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/site.xml
URL:
http://svn.apache.org/viewcvs/cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/site.xml?view=auto&rev=154685
==============================================================================
---
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/site.xml
(added)
+++
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/site.xml
Mon Feb 21 08:15:38 2005
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+<!--
+ 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.
+-->
+
+<site label="Apache Cocoon Portal" href=""
xmlns="http://apache.org/forrest/linkmap/1.0" tab="">
+
+ <docs label="Getting Started" tab="getting-started">
+ <doc label="Overview" href="getting-started.html"/>
+ </docs>
+
+ <docs label="Documentation" tab="documentation">
+ <doc label="Overview" href="index.html"/>
+ </docs>
+
+</site>
Propchange:
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/site.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added:
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/tabs.xml
URL:
http://svn.apache.org/viewcvs/cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/tabs.xml?view=auto&rev=154685
==============================================================================
---
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/tabs.xml
(added)
+++
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/tabs.xml
Mon Feb 21 08:15:38 2005
@@ -0,0 +1,39 @@
+<?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 tabs PUBLIC "-//APACHE//DTD Cocoon Documentation Tab V1.1//EN"
"http://forrest.apache.org/dtd/tab-cocoon-v11.dtd">
+
+<tabs software="Apache Cocoon"
+ title="Apache Cocoon"
+ copyright="2004 Apache Software Foundation"
+ 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="project" label="Cocoon Project"
href="http://brutus.apache.org/docs/build/cocoon-doco-global/index.html"/>
+ <tab id="getting-started" label="Getting started"
href="getting-started.html"/>
+ <tab id="docs" label="Documentation" href="index.html"/>
+
+</tabs>
Propchange:
cocoon/whiteboard/doc-repos/portal-block/src/documentation/content/xdocs/tabs.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added:
cocoon/whiteboard/doc-repos/portal-block/src/documentation/resources/stylesheets/correct-img-links.xsl
URL:
http://svn.apache.org/viewcvs/cocoon/whiteboard/doc-repos/portal-block/src/documentation/resources/stylesheets/correct-img-links.xsl?view=auto&rev=154685
==============================================================================
---
cocoon/whiteboard/doc-repos/portal-block/src/documentation/resources/stylesheets/correct-img-links.xsl
(added)
+++
cocoon/whiteboard/doc-repos/portal-block/src/documentation/resources/stylesheets/correct-img-links.xsl
Mon Feb 21 08:15:38 2005
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+ <xsl:param name="docid"/>
+
+ <xsl:template match="img|link">
+ <xsl:element name="{name()}">
+ <xsl:for-each select="@*">
+ <xsl:choose>
+ <xsl:when test="(name(.) = 'src' or name(.) = 'href') and
starts-with(., 'files')">
+ <xsl:attribute name="{name(.)}">
+ <xsl:value-of select="$docid"/>/<xsl:value-of select="."/>
+ </xsl:attribute>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:attribute name="{name(.)}">
+ <xsl:value-of select="."/>
+ </xsl:attribute>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:for-each>
+ <xsl:value-of select="."/>
+ </xsl:element>
+ </xsl:template>
+
+ <xsl:template match="@*|node()" priority="-2">
+ <xsl:copy>
+ <xsl:apply-templates select="@*|node()"/>
+ </xsl:copy>
+ </xsl:template>
+</xsl:stylesheet>
\ No newline at end of file
Propchange:
cocoon/whiteboard/doc-repos/portal-block/src/documentation/resources/stylesheets/correct-img-links.xsl
------------------------------------------------------------------------------
svn:eol-style = native
Added:
cocoon/whiteboard/doc-repos/portal-block/src/documentation/resources/stylesheets/doc-aggregate2v12.xsl
URL:
http://svn.apache.org/viewcvs/cocoon/whiteboard/doc-repos/portal-block/src/documentation/resources/stylesheets/doc-aggregate2v12.xsl?view=auto&rev=154685
==============================================================================
---
cocoon/whiteboard/doc-repos/portal-block/src/documentation/resources/stylesheets/doc-aggregate2v12.xsl
(added)
+++
cocoon/whiteboard/doc-repos/portal-block/src/documentation/resources/stylesheets/doc-aggregate2v12.xsl
Mon Feb 21 08:15:38 2005
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+ <xsl:variable name="content" select="/aggregate/content/document/body"/>
+ <xsl:variable name="content-header"
select="/aggregate/content/document/header"/>
+ <xsl:variable name="comments" select="/aggregate/comments"/>
+ <xsl:template match="/">
+ <document>
+ <header>
+ <title>
+ <xsl:value-of select="$content-header/title"/>
+ </title>
+ </header>
+ <body>
+ <xsl:copy-of select="$content/*"/>
+ <xsl:apply-templates select="$comments"/>
+ </body>
+ </document>
+ </xsl:template>
+ <xsl:template match="comments">
+ <section id="Comments">
+ <title>Comments</title>
+ <div class="commentsarea">
+ <div class="commenttaskbar">
+ add your comments
+ </div>
+ <xsl:apply-templates select="comment"/>
+ </div>
+ </section>
+ </xsl:template>
+ <xsl:template match="comment">
+ <div class="comment">
+ <div class="commentheader">
+ <xsl:value-of select="@subject"/> by <xsl:value-of select="@name"/>
+ </div>
+ <div class="commentbody">
+ <xsl:copy-of select="*"/>
+ </div>
+ </div>
+ </xsl:template>
+</xsl:stylesheet>
Added: cocoon/whiteboard/doc-repos/portal-block/src/documentation/sitemap.xmap
URL:
http://svn.apache.org/viewcvs/cocoon/whiteboard/doc-repos/portal-block/src/documentation/sitemap.xmap?view=auto&rev=154685
==============================================================================
--- cocoon/whiteboard/doc-repos/portal-block/src/documentation/sitemap.xmap
(added)
+++ cocoon/whiteboard/doc-repos/portal-block/src/documentation/sitemap.xmap Mon
Feb 21 08:15:38 2005
@@ -0,0 +1,76 @@
+<?xml version="1.0"?>
+<!--
+ 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.
+-->
+<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+ <map:components>
+ <map:generators default="file">
+ <map:generator name="local-html"
src="org.apache.cocoon.generation.HTMLGenerator">
+ <jtidy-config>context:/WEB-INF/jtidy.properties</jtidy-config>
+ </map:generator>
+ </map:generators>
+ </map:components>
+ <map:pipelines>
+ <map:pipeline internal-only="true">
+ <map:match pattern="html2document/*">
+ <map:select type="exists">
+ <map:when test="{project:content.xdocs}{1}/content_en.xml">
+ <map:generate src="{project:content.xdocs}{1}/content_en.xml"/>
+ <map:transform src="{defaults:stylesheets}/html2document.xsl"/>
+ </map:when>
+ <map:otherwise>
+ <map:generate src="{project:content.xdocs}{1}/content_en.html"
type="local-html"/>
+ <map:transform src="{forrest:stylesheets}/html2document.xsl" />
+ </map:otherwise>
+ </map:select>
+ <map:serialize/>
+ </map:match>
+ <map:match pattern="comments/*">
+ <map:select type="exists">
+ <map:when test="{project:content.xdocs}{1}/comments_en.xml">
+ <map:generate src="{project:content.xdocs}{1}/comments_en.xml"/>
+ </map:when>
+ <map:otherwise>
+ <map:generate src="{project:content}no-comments.xml"/>
+ </map:otherwise>
+ </map:select>
+ <map:serialize/>
+ </map:match>
+ </map:pipeline>
+ <!--
********************************************************************************
-->
+ <map:pipeline>
+ <map:match pattern="*.xml">
+ <map:select type="exists">
+ <map:when test="{project:content.xdocs}{1}/meta.xml">
+ <map:aggregate element="aggregate">
+ <map:part src="cocoon:/html2document/{1}" element="content"/>
+ <map:part src="{project:content.xdocs}{1}/meta.xml"/>
+ <map:part src="cocoon:/comments/{1}"/>
+ </map:aggregate>
+ <map:transform
src="{project:resources.stylesheets}doc-aggregate2v12.xsl"/>
+ <map:transform
src="{project:resources.stylesheets}correct-img-links.xsl">
+ <map:parameter name="docid" value="{1}"/>
+ </map:transform>
+ <map:serialize type="xml-document"/>
+ </map:when>
+ </map:select>
+ </map:match>
+ <!--
********************************************************************************
-->
+ <map:match pattern="*/files/*.*">
+ <map:read src="{project:content.xdocs}{1}/files/{2}.{3}"
mime-type="image/{3}"/>
+ </map:match>
+ </map:pipeline>
+ </map:pipelines>
+</map:sitemap>
Propchange:
cocoon/whiteboard/doc-repos/portal-block/src/documentation/sitemap.xmap
------------------------------------------------------------------------------
svn:eol-style = native
Added: cocoon/whiteboard/doc-repos/portal-block/src/documentation/skinconf.xml
URL:
http://svn.apache.org/viewcvs/cocoon/whiteboard/doc-repos/portal-block/src/documentation/skinconf.xml?view=auto&rev=154685
==============================================================================
--- cocoon/whiteboard/doc-repos/portal-block/src/documentation/skinconf.xml
(added)
+++ cocoon/whiteboard/doc-repos/portal-block/src/documentation/skinconf.xml Mon
Feb 21 08:15:38 2005
@@ -0,0 +1,302 @@
+<?xml version="1.0"?>
+<!--
+ 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.
+-->
+
+<!--
+Skin configuration file. This file contains details of your project,
+which will be used to configure the chosen Forrest skin.
+-->
+
+<!DOCTYPE skinconfig PUBLIC "-//APACHE//DTD Skin Configuration V0.6-3//EN"
"http://forrest.apache.org/dtd/skinconfig-v06-3.dtd">
+<skinconfig>
+ <!-- To enable lucene search add provider="lucene"
+ Add box-location="alt" to move the search box to an alternate location
+ (if the skin supports it) and box-location="all" to show it in all
+ available locations on the page. Remove the <search> element to show
+ no search box.
+ -->
+ <search name="Apache Forrest" domain="forrest.apache.org" provider="google"/>
+
+ <!-- Disable the print link? If enabled, invalid HTML 4.0.1 -->
+ <disable-print-link>true</disable-print-link>
+ <!-- Disable the PDF link? -->
+ <disable-pdf-link>false</disable-pdf-link>
+ <!-- Disable the xml source link? -->
+ <!-- The xml source link makes it possible to access the xml rendition
+ of the source frim the html page, and to have it generated statically.
+ This can be used to enable other sites and services to reuse the
+ xml format for their uses. Keep this disabled if you don't want other
+ sites to easily reuse your pages.-->
+ <disable-xml-link>true</disable-xml-link>
+
+ <!-- Disable navigation icons on all external links? -->
+ <disable-external-link-image>false</disable-external-link-image>
+
+ <!-- Disable w3c compliance links? -->
+ <disable-compliance-links>false</disable-compliance-links>
+
+ <!-- Render mailto: links unrecognisable by spam harvesters? -->
+ <obfuscate-mail-links>true</obfuscate-mail-links>
+ <obfuscate-mail-value>[.at.]</obfuscate-mail-value>
+
+ <!-- Disable the javascript facility to change the font size -->
+ <disable-font-script>false</disable-font-script>
+
+ <!-- mandatory project logo
+ skin: forrest-site renders it at the top -->
+ <project-name>Apache Cocoon Portal</project-name>
+ <project-description>Apache Cocoon Portal</project-description>
+ <project-url>http://cocoon.apache.org/blocks/portal/1.0/</project-url>
+ <project-logo>images/portal-logo.gif</project-logo>
+
+
+ <!-- optional group logo
+ skin: forrest-site renders it at the top-left corner -->
+ <group-name>Apache</group-name>
+ <group-description>The Apache Software Foundation</group-description>
+ <group-url>http://www.apache.org/</group-url>
+ <group-logo>images/cocoon-project-logo.png</group-logo>
+
+ <!-- optional host logo (e.g. sourceforge logo)
+ skin: forrest-site renders it at the bottom-left corner -->
+ <host-url></host-url>
+ <host-logo></host-logo>
+
+ <!-- relative url of a favicon file, normally favicon.ico -->
+ <favicon-url>images/cocoon.ico</favicon-url>
+
+ <!-- The following are used to construct a copyright statement -->
+ <year>1999-2005</year>
+ <vendor>The Apache Software Foundation.</vendor>
+ <copyright-link>http://www.apache.org/licenses/</copyright-link>
+
+ <!-- Some skins use this to form a 'breadcrumb trail' of links.
+ If you don't want these, then set the attributes to blank.
+ The DTD purposefully requires them.
+ Use location="alt" to move the trail to an alternate location
+ (if the skin supports it).
+ -->
+
+ <trail>
+ <link1 name="apache" href="http://www.apache.org/"/>
+ <link2 name="cocoon" href="http://cocoon.apache.org/"/>
+ <link3 name="" href=""/>
+ </trail>
+
+ <!-- Configure the TOC, i.e. the Table of Contents.
+ @max-depth
+ how many "section" levels need to be included in the
+ generated Table of Contents (TOC).
+ @min-sections
+ Minimum required to create a TOC.
+ @location ("page","menu","page,menu")
+ Where to show the TOC.
+ -->
+ <toc max-depth="3" min-sections="2" location="page"/>
+
+ <!-- Heading types can be clean|underlined|boxed -->
+ <headings type="clean"/>
+
+ <extra-css>
+ /* ----------------------------------- TOC
----------------------------------- */
+ #minitoc-area {
+ border:1px solid #aaaaaa;
+ background-color:#f9f9f9;
+ padding:5px;
+ font-size: 95%;
+ width:450px;
+ }
+
+ /* ----------------------------------- comments
----------------------------------- */
+ .commentsarea {
+ margin-top:40px;
+ background-color:white;
+ border:1px solid #aaaaaa;
+ }
+ .comment {
+ border:1px solid #aaaaaa;
+ background-color:#aaaaaa;
+ padding:0px;
+ margin:5px;
+ }
+ a[name="Comments"] + h2 {
+ display:none;
+ }
+ .commentbody {
+ background-color:white;
+ }
+ .comment * {
+ padding: 0px;
+ margin: 0px;
+ }
+ .commentheader, .commenttaskbar {
+ background-color:#E5E4D9;
+ color:black;
+ font-weight:bold;
+ }
+
+ /* ----------------------------------- table styling
fixes-------------------- */
+
+ #content td {
+ margin: 0;
+ padding: 5px;
+ vertical-alin: top;
+ }
+
+ #content td p {
+ margin: 0px;
+ }
+
+ /* ----------------------------------- text
----------------------------------- */
+ p { margin: 0.4em 0em 0.5em 0em;
+ line-height: 1.5em;
+ }
+
+ h1, h2, h3, h4, h5, h6 {
+ color: Black;
+ background: none;
+ font-weight: normal;
+ margin: 0;
+ padding-top: 0.7em;
+ padding-bottom: 0.17em;
+ border-bottom: 1px solid #aaaaaa;
+ }
+ h1 { font-size: 188%; }
+ h2 { font-size: 150%; }
+ h4, h5, h6 {
+ border-bottom: none;
+ }
+ h3 { font-size: 132%; }
+ h4 { font-size: 116%; font-weight:bold;}
+ h5 { font-size: 100%; }
+ h6 { font-size: 80%; }
+
+ pre {
+ border:1px solid #aaaaaa;
+ background-color:#f9f9f9;
+ padding:5px;
+ font-size: 95%;
+ }
+ li {
+ list-style-type:square;
+ }
+ </extra-css>
+
+ <colors>
+ <!-- These values are used for the generated CSS files. -->
+
+ <!-- Cocoon -->
+
+ <color name="header" value="#294563"/>
+
+ <color name="tab-selected" value="#4a6d8c" link="#0F3660" vlink="#0F3660"
hlink="#000066"/>
+ <color name="tab-unselected" value="#b5c7e7" link="#0F3660"
vlink="#0F3660" hlink="#000066"/>
+ <color name="subtab-selected" value="#4a6d8c" link="#0F3660"
vlink="#0F3660" hlink="#000066"/>
+ <color name="subtab-unselected" value="#4a6d8c" link="#0F3660"
vlink="#0F3660" hlink="#000066"/>
+
+ <color name="heading" value="#294563"/>
+ <color name="subheading" value="#4a6d8c"/>
+
+ <color name="published" value="#4C6C8F" font="#FFFFFF"/>
+ <color name="feedback" value="#4C6C8F" font="#FFFFFF" align="center"/>
+
+ <color name="navstrip" value="#4a6d8c" font="#ffffff" link="#0F3660"
vlink="#0F3660" hlink="#000066"/>
+ <color name="toolbox" value="#4a6d8c"/>
+ <color name="border" value="#294563"/>
+
+ <color name="menu" value="#4a6d8c" font="#cedfef" link="#ffffff"
vlink="#ffffff" hlink="#ffcf00"/>
+
+ <color name="menuheading" value="#cfdced" font="#000000" />
+ <color name="searchbox" value="#E5E4D9" font="#000000"/>
+
+ <color name="dialog" value="#4a6d8c"/>
+ <color name="body" value="#ffffff" link="#0F3660" vlink="#009999"
hlink="#000066"/>
+
+ <color name="table" value="#7099C5"/>
+ <color name="table-cell" value="#f0f0ff"/>
+ <color name="highlight" value="#ffff00"/>
+ <color name="fixme" value="#cc6600"/>
+ <color name="note" value="#006699"/>
+ <color name="warning" value="#990000"/>
+ <color name="code" value="#CFDCED"/>
+
+ <color name="footer" value="#cedfef"/>
+
+
+
+ </colors>
+
+ <!-- Settings specific to PDF output. -->
+ <pdf>
+ <!--
+ Supported page sizes are a0, a1, a2, a3, a4, a5, executive,
+ folio, legal, ledger, letter, quarto, tabloid (default letter).
+ Supported page orientations are portrait, landscape (default
+ portrait).
+ Supported text alignments are left, right, justify (default left).
+ -->
+ <page size="a4" orientation="portrait" text-align="left"/>
+
+ <!--
+ Margins can be specified for top, bottom, inner, and outer
+ edges. If double-sided="false", the inner edge is always left
+ and the outer is always right. If double-sided="true", the
+ inner edge will be left on odd pages, right on even pages,
+ the outer edge vice versa.
+ Specified below are the default settings.
+ -->
+ <margins double-sided="false">
+ <top>1cm</top>
+ <bottom>1cm</bottom>
+ <inner>2cm</inner>
+ <outer>1.5cm</outer>
+ </margins>
+
+ <!--
+ Print the URL text next to all links going outside the file
+ -->
+ <show-external-urls>false</show-external-urls>
+ </pdf>
+
+ <!-- Credits are typically rendered as a set of small clickable
+ images in the page footer -->
+ <credits>
+ <credit>
+ <name>Built with Apache Forrest</name>
+ <url>http://forrest.apache.org/</url>
+ <image>skin/images/built-with-forrest-button.png</image>
+ <width>88</width>
+ <height>31</height>
+ </credit>
+ <credit>
+ <name>Built with Apache Cocoon</name>
+ <url>http://cocoon.apache.org/</url>
+ <image>images/built-with-cocoon.gif</image>
+ <width>88</width>
+ <height>31</height>
+ </credit>
+ <credit>
+ <name>thanks to ASF, thanks from ASF</name>
+ <url>http://www.apache.org/foundation/thanks.html</url>
+ <image>images/icon.png</image>
+ <width>26</width>
+ <height>22</height>
+ </credit>
+ <!-- A credit with @role='pdf' will have its name and url
+ displayed in the PDF page's footer. -->
+ </credits>
+
+</skinconfig>
Added: cocoon/whiteboard/doc-repos/portal-block/status.xml
URL:
http://svn.apache.org/viewcvs/cocoon/whiteboard/doc-repos/portal-block/status.xml?view=auto&rev=154685
==============================================================================
--- cocoon/whiteboard/doc-repos/portal-block/status.xml (added)
+++ cocoon/whiteboard/doc-repos/portal-block/status.xml Mon Feb 21 08:15:38 2005
@@ -0,0 +1,74 @@
+<?xml version="1.0"?>
+<!--
+ 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.
+-->
+<status>
+
+ <developers>
+ <person name="Joe Bloggs" email="[EMAIL PROTECTED]" id="JB" />
+ <!-- Add more people here -->
+ </developers>
+
+ <changes>
+ <!-- Add new releases here -->
+ <release version="0.1" date="unreleased">
+ <!-- Some action types have associated images. By default, images are
+ defined for 'add', 'fix', 'remove', 'update' and 'hack'. If you add
+ src/documentation/resources/images/<foo>.jpg images, these will
+ automatically be used for entries of type <foo>. -->
+
+ <action dev="JB" type="add" context="admin">
+ Initial Import
+ </action>
+ <!-- Sample action:
+ <action dev="JB" type="fix" due-to="Joe Contributor"
+ due-to-email="[EMAIL PROTECTED]" fixes-bug="123">
+ Fixed a bug in the Foo class.
+ </action>
+ -->
+ </release>
+ </changes>
+
+ <todo>
+ <actions priority="high">
+ <action context="docs" dev="JB">
+ Customize this template project with your project's details. This
+ TODO list is generated from 'status.xml'.
+ </action>
+ <action context="docs" dev="JB">
+ Add lots of content. XML content goes in
+ <code>src/documentation/content/xdocs</code>, or wherever the
+ <code>${project.xdocs-dir}</code> property (set in
+ <code>forrest.properties</code>) points.
+ </action>
+ <action context="feedback" dev="JB">
+ Mail <link
+ href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</link>
+ with feedback.
+ </action>
+ </actions>
+ <!-- Add todo items. @context is an arbitrary string. Eg:
+ <actions priority="high">
+ <action context="code" dev="SN">
+ </action>
+ </actions>
+ <actions priority="medium">
+ <action context="docs" dev="open">
+ </action>
+ </actions>
+ -->
+ </todo>
+
+</status>
Propchange: cocoon/whiteboard/doc-repos/portal-block/status.xml
------------------------------------------------------------------------------
svn:eol-style = native