You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ge...@apache.org on 2010/06/03 09:47:42 UTC

svn commit: r950903 - in /servicemix/documentation/trunk/common/src/main/resources/styles: docbook-fo.xsl docbook-html.xsl

Author: gertv
Date: Thu Jun  3 07:47:42 2010
New Revision: 950903

URL: http://svn.apache.org/viewvc?rev=950903&view=rev
Log:
Add notice about SyntaxHighlighter script

Modified:
    servicemix/documentation/trunk/common/src/main/resources/styles/docbook-fo.xsl
    servicemix/documentation/trunk/common/src/main/resources/styles/docbook-html.xsl

Modified: servicemix/documentation/trunk/common/src/main/resources/styles/docbook-fo.xsl
URL: http://svn.apache.org/viewvc/servicemix/documentation/trunk/common/src/main/resources/styles/docbook-fo.xsl?rev=950903&r1=950902&r2=950903&view=diff
==============================================================================
--- servicemix/documentation/trunk/common/src/main/resources/styles/docbook-fo.xsl (original)
+++ servicemix/documentation/trunk/common/src/main/resources/styles/docbook-fo.xsl Thu Jun  3 07:47:42 2010
@@ -223,7 +223,7 @@
 
   <!-- Why is the font-size for chapters hardcoded in the XSL FO templates?
    Let's remove it, so this sucker can use our attribute-set only... -->
-  <xsl:template match="d:title|title" mode="chapter.titlepage.recto.auto.mode">
+  <xsl:template match="title" mode="chapter.titlepage.recto.auto.mode">
     <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"
               xsl:use-attribute-sets="chapter.titlepage.recto.style">
       <xsl:call-template name="component.title">

Modified: servicemix/documentation/trunk/common/src/main/resources/styles/docbook-html.xsl
URL: http://svn.apache.org/viewvc/servicemix/documentation/trunk/common/src/main/resources/styles/docbook-html.xsl?rev=950903&r1=950902&r2=950903&view=diff
==============================================================================
--- servicemix/documentation/trunk/common/src/main/resources/styles/docbook-html.xsl (original)
+++ servicemix/documentation/trunk/common/src/main/resources/styles/docbook-html.xsl Thu Jun  3 07:47:42 2010
@@ -24,6 +24,14 @@
 
     <xsl:template name="user.head.content">
         <xsl:param name="node" select="."/>
+
+        <!--
+            NOTICE - SyntaxHighlighter (http://alexgorbatchev.com/wiki/SyntaxHighlighter) is licensed under LGPL v3
+
+            This script is being used to highlight the syntax of the <code/> blocks in our documentation.
+            You can disable the script by removing all the code between this NOTICE and END - SyntaxHighlighter.
+        -->
+
         <!-- Include *at least* the core style and default theme -->
         <link href="resources/syntaxhl/styles/shCore.css" rel="stylesheet" type="text/css" />
         <link href="resources/syntaxhl/styles/shThemeDefault.css" rel="Stylesheet" type="text/css" />
@@ -42,6 +50,8 @@
           dp.SyntaxHighlighter.HighlightAll('programlisting');
         </script>
 
+        <!-- END - SyntaxHighlighter -->
+
     </xsl:template>
 
     <xsl:template match="d:programlisting">