svn commit: r591761 - in /lenya/sandbox/modules/docustyle: ./ config/ resources/ resources/shared/css/ resources/shared/images/ xslt/

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: andreas
Date: Sun Nov  4 03:20:25 2007
New Revision: 591761

URL: http://svn.apache.org/viewvc?rev=591761&view=rev
Log:
Adding docustyle module

Added:
    lenya/sandbox/modules/docustyle/
    lenya/sandbox/modules/docustyle/config/
    lenya/sandbox/modules/docustyle/config/module.xml
    lenya/sandbox/modules/docustyle/resources/
      - copied from r590953, lenya/sandbox/pubs/docu/resources/
    lenya/sandbox/modules/docustyle/resources/shared/css/page.css
      - copied unchanged from r591758, lenya/sandbox/pubs/docu/resources/shared/css/page.css
    lenya/sandbox/modules/docustyle/resources/shared/images/bullet-closed.png
      - copied unchanged from r591405, lenya/sandbox/pubs/docu/resources/shared/images/bullet-closed.png
    lenya/sandbox/modules/docustyle/resources/shared/images/bullet-open.png
      - copied unchanged from r591405, lenya/sandbox/pubs/docu/resources/shared/images/bullet-open.png
    lenya/sandbox/modules/docustyle/resources/shared/images/bullet.png
      - copied unchanged from r591405, lenya/sandbox/pubs/docu/resources/shared/images/bullet.png
    lenya/sandbox/modules/docustyle/resources/shared/images/corner.png
      - copied unchanged from r591758, lenya/sandbox/pubs/docu/resources/shared/images/corner.png
    lenya/sandbox/modules/docustyle/xslt/
      - copied from r590953, lenya/sandbox/pubs/docu/xslt/
    lenya/sandbox/modules/docustyle/xslt/page2xhtml.xsl
      - copied, changed from r591758, lenya/sandbox/pubs/docu/xslt/page2xhtml.xsl

Added: lenya/sandbox/modules/docustyle/config/module.xml
URL: http://svn.apache.org/viewvc/lenya/sandbox/modules/docustyle/config/module.xml?rev=591761&view=auto
==============================================================================
--- lenya/sandbox/modules/docustyle/config/module.xml (added)
+++ lenya/sandbox/modules/docustyle/config/module.xml Sun Nov  4 03:20:25 2007
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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.
+-->
+
+<!-- $Id: publication.xml 374687 2006-02-03 15:24:55Z michi $ -->
+
+<module xmlns="http://apache.org/lenya/module/1.0">
+  <id>org.apache.lenya.modules.docustyle</id>
+  <package>org.apache.lenya.modules</package>
+  <version>0.1-dev</version>
+  <name>Forrest</name>
+  <lenya-version>@lenya.version@</lenya-version>
+  <description>Styles for the documentation publication</description>
+</module>

Copied: lenya/sandbox/modules/docustyle/xslt/page2xhtml.xsl (from r591758, lenya/sandbox/pubs/docu/xslt/page2xhtml.xsl)
URL: http://svn.apache.org/viewvc/lenya/sandbox/modules/docustyle/xslt/page2xhtml.xsl?p2=lenya/sandbox/modules/docustyle/xslt/page2xhtml.xsl&p1=lenya/sandbox/pubs/docu/xslt/page2xhtml.xsl&r1=591758&r2=591761&rev=591761&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/xslt/page2xhtml.xsl (original)
+++ lenya/sandbox/modules/docustyle/xslt/page2xhtml.xsl Sun Nov  4 03:20:25 2007
@@ -56,12 +56,12 @@
         -->
         <link rel="neutron-introspection" type="application/neutron+xml"
           href="{$root}{$document-path}.xml?lenya.module=neutron&amp;lenya.action=introspect"/>
-        <link rel="stylesheet" href="{$root}/css/page.css" type="text/css"/>
+        <link rel="stylesheet" href="/modules/docustyle/css/page.css" type="text/css"/>
         <!-- Load doctype-specific CSS -->
         <xsl:choose>
           <xsl:when test="$document-type">
             <!-- Looking into the pub e.g. {$yourPub}/resources/shared/css/{$document-type}.css -->
-            <link rel="stylesheet" href="{$root}/css/{$document-type}.css" type="text/css"/>
+            <link rel="stylesheet" href="{$root}/modules/docustyle/css/{$document-type}.css" type="text/css"/>
             <xsl:copy-of select="xhtml:html/xhtml:head/*"/>
           </xsl:when>
           <xsl:otherwise>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.