You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by se...@apache.org on 2010/11/21 23:15:29 UTC

svn commit: r1037574 - in /directory/apacheds-manuals/trunk: pom.xml src/docbkx-stylesheet/html/docbook.xsl

Author: seelmann
Date: Sun Nov 21 22:15:29 2010
New Revision: 1037574

URL: http://svn.apache.org/viewvc?rev=1037574&view=rev
Log:
Externalize css

Modified:
    directory/apacheds-manuals/trunk/pom.xml
    directory/apacheds-manuals/trunk/src/docbkx-stylesheet/html/docbook.xsl

Modified: directory/apacheds-manuals/trunk/pom.xml
URL: http://svn.apache.org/viewvc/directory/apacheds-manuals/trunk/pom.xml?rev=1037574&r1=1037573&r2=1037574&view=diff
==============================================================================
--- directory/apacheds-manuals/trunk/pom.xml (original)
+++ directory/apacheds-manuals/trunk/pom.xml Sun Nov 21 22:15:29 2010
@@ -140,6 +140,10 @@ under the License.
                 <copy todir="${project.build.directory}/docbook/manuals/basic-user-guide-${project.version}/html/images">
                   <fileset dir="${project.build.directory}/docbook-xsl/docbook/images" />
                 </copy>
+                <!-- Copy the css -->
+                <copy todir="${project.build.directory}/docbook/manuals/basic-user-guide-${project.version}/html">
+                  <fileset dir="${basedir}/src/main/resources/css" />
+                </copy>
                 <!-- Copy the data -->
                 <copy todir="${project.build.directory}/docbook/manuals/basic-user-guide-${project.version}/html/data">
                   <fileset dir="${basedir}/src/basic-user-guide/data" />
@@ -179,6 +183,10 @@ under the License.
                 <copy todir="${project.build.directory}/docbook/manuals/advanced-user-guide-${project.version}/html/images">
                   <fileset dir="${project.build.directory}/docbook-xsl/docbook/images" />
                 </copy>
+                <!-- Copy the css -->
+                <copy todir="${project.build.directory}/docbook/manuals/advanced-user-guide-${project.version}/html">
+                  <fileset dir="${basedir}/src/main/resources/css" />
+                </copy>
                 <!-- Copy the data -->
                 <copy todir="${project.build.directory}/docbook/manuals/advanced-user-guide-${project.version}/html/data">
                   <fileset dir="${basedir}/src/advanced-user-guide/data" />

Modified: directory/apacheds-manuals/trunk/src/docbkx-stylesheet/html/docbook.xsl
URL: http://svn.apache.org/viewvc/directory/apacheds-manuals/trunk/src/docbkx-stylesheet/html/docbook.xsl?rev=1037574&r1=1037573&r2=1037574&view=diff
==============================================================================
--- directory/apacheds-manuals/trunk/src/docbkx-stylesheet/html/docbook.xsl (original)
+++ directory/apacheds-manuals/trunk/src/docbkx-stylesheet/html/docbook.xsl Sun Nov 21 22:15:29 2010
@@ -17,11 +17,6 @@ KIND, either express or implied.  See th
 specific language governing permissions and limitations
 under the License.
 -->
-<!DOCTYPE stylesheet [
-<!ENTITY green_css SYSTEM "../../main/resources/css/green_20091029.css">
-<!ENTITY common_css SYSTEM "../../main/resources/css/common_20091029.css">
-]>
-
 <xsl:stylesheet
   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
   version="1.0">
@@ -58,11 +53,8 @@ under the License.
   <!-- Header -->
   <xsl:template
     name="user.head.content">
-    <style
-      type="text/css">
-&green_css;
-&common_css;
-    </style>
+    <link rel="stylesheet" type="text/css" href="common_20091029.css" />
+    <link rel="stylesheet" type="text/css" href="green_20091029.css" />
     <link rel="shortcut icon" href="images/server-icon_16x16.png" />
   </xsl:template>