servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r940593 - in /servicemix/documentation/trunk: common/src/main/resources/theme/master.css docs/pom.xml pom.xml
Date Mon, 03 May 2010 20:12:10 GMT
Author: gertv
Date: Mon May  3 20:12:10 2010
New Revision: 940593

URL: http://svn.apache.org/viewvc?rev=940593&view=rev
Log:
Create chunked HTML as well as single HTML

Modified:
    servicemix/documentation/trunk/common/src/main/resources/theme/master.css
    servicemix/documentation/trunk/docs/pom.xml
    servicemix/documentation/trunk/pom.xml

Modified: servicemix/documentation/trunk/common/src/main/resources/theme/master.css
URL: http://svn.apache.org/viewvc/servicemix/documentation/trunk/common/src/main/resources/theme/master.css?rev=940593&r1=940592&r2=940593&view=diff
==============================================================================
--- servicemix/documentation/trunk/common/src/main/resources/theme/master.css (original)
+++ servicemix/documentation/trunk/common/src/main/resources/theme/master.css Mon May  3 20:12:10
2010
@@ -1,5 +1,5 @@
 body {
-  font-family: sans-serif;
+  font-family: verdana, helvetica, sans-serif;
 }
 
 table.reference tbody tr {
@@ -14,4 +14,5 @@ table.reference tbody tr {
 
 .legalnotice {
   font-size: 0.8em;
+  background-color: #E0E0E0; 
 }
\ No newline at end of file

Modified: servicemix/documentation/trunk/docs/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/documentation/trunk/docs/pom.xml?rev=940593&r1=940592&r2=940593&view=diff
==============================================================================
--- servicemix/documentation/trunk/docs/pom.xml (original)
+++ servicemix/documentation/trunk/docs/pom.xml Mon May  3 20:12:10 2010
@@ -97,8 +97,9 @@
         <artifactId>docbkx-maven-plugin</artifactId>
         <version>2.0.9</version>
         <executions>
+
           <execution>
-            <id>generate-html</id>
+            <id>generate-chuncked-html</id>
             <goals>
               <goal>generate-html</goal>
             </goals>
@@ -108,7 +109,7 @@
               <chunkToc>false</chunkToc>
               <chunkedOutput>true</chunkedOutput>
               <postProcess>
-                <property name="theme" location="${project.build.directory}/docbkx/html/theme"/>
+                <property name="theme" location="${project.build.directory}/site/html/theme"/>
                 <mkdir dir="${theme}"/>
                 <copy todir="${theme}">
                   <fileset dir="${project.build.directory}/common/theme"/>
@@ -117,6 +118,27 @@
               <targetDirectory>${project.reporting.outputDirectory}/html</targetDirectory>
             </configuration>
           </execution>
+
+          <execution>
+            <id>generate-single-html</id>
+            <goals>                                                               
                                                                                       
+              <goal>generate-html</goal>
+            </goals>
+            <phase>verify</phase>
+            <configuration>
+              <htmlStylesheet>theme/master.css</htmlStylesheet>
+              <chunkedOutput>false</chunkedOutput>
+              <postProcess>
+                <property name="theme" location="${project.build.directory}/site/single/theme"/>
+                <mkdir dir="${theme}"/>
+                <copy todir="${theme}">
+                  <fileset dir="${project.build.directory}/common/theme"/>
+                </copy>
+              </postProcess>
+              <targetDirectory>${project.reporting.outputDirectory}/single</targetDirectory>
+            </configuration>
+          </execution>
+
           <execution>
             <id>generate-pdf</id>
             <goals>

Modified: servicemix/documentation/trunk/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/documentation/trunk/pom.xml?rev=940593&r1=940592&r2=940593&view=diff
==============================================================================
--- servicemix/documentation/trunk/pom.xml (original)
+++ servicemix/documentation/trunk/pom.xml Mon May  3 20:12:10 2010
@@ -59,6 +59,7 @@
             <phase>initialize</phase>
             <configuration>
               <tasks>
+                <!-- a little hack to ensure site:deploy works fine -->
                 <mkdir dir="target/site" />
                 <touch file="target/site/UPDATE" />
               </tasks>



Mime
View raw message