[seam-commits] Seam SVN: r7905 - in maven-plugins/trunk: seam-jdocbook-style/src/main/css/css and 1 other directory.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Fri Apr 11 04:28:57 EDT 2008
Author: newtonm
Date: 2008-04-11 04:28:57 -0400 (Fri, 11 Apr 2008)
New Revision: 7905
Added:
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/main-eclipse.xsl
maven-plugins/trunk/seam-jdocbook-style/src/main/css/css/seamframework-eclipse.css
Modified:
maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/main-pdf.xsl
maven-plugins/trunk/seam-jdocbook-style/src/main/css/css/seamframework.css
Log:
Added XSL and CSS for Eclipse Help format. Also added admonition path for seam main-pdf.xsl using pngs as svgs not available yet.
Added: maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/main-eclipse.xsl
===================================================================
--- maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/main-eclipse.xsl (rev 0)
+++ maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/main-eclipse.xsl 2008-04-11 08:28:57 UTC (rev 7905)
@@ -0,0 +1,24 @@
+<?xml version='1.0'?>
+
+<!--
+ Copyright 2007 Red Hat, Inc.
+ License: GPL
+ Author: Mark Newton <mark.newton at jboss.org>
+-->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:exsl="http://exslt.org/common"
+ version="1.0"
+ exclude-result-prefixes="exsl">
+
+ <xsl:import href="classpath:/xslt/org/jboss/main-eclipse.xsl" />
+
+ <xsl:param name="use.simplified.author.group" select="1"/>
+ <xsl:param name="html.stylesheet" select="'css/seamframework-eclipse.css'" />
+ <xsl:param name="callout.graphics.path">images/seamframework/docbook/callouts/</xsl:param>
+ <xsl:param name="callout.icon.size">17px</xsl:param>
+
+ <!-- Set chunk.section.depth to 0 to just chunk chapters. -->
+ <xsl:param name="chunk.section.depth" select="0"/>
+
+</xsl:stylesheet>
Modified: maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/main-pdf.xsl
===================================================================
--- maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/main-pdf.xsl 2008-04-11 07:46:12 UTC (rev 7904)
+++ maven-plugins/trunk/seam-docbook-xslt/src/main/resources/xslt/org/jboss/seam/main-pdf.xsl 2008-04-11 08:28:57 UTC (rev 7905)
@@ -14,12 +14,24 @@
<xsl:import href="classpath:/xslt/org/jboss/main-pdf.xsl" />
+<!-- Callouts -->
<xsl:param name="callout.graphics.path">
<xsl:if test="$img.src.path != ''">
<xsl:value-of select="$img.src.path"/>
</xsl:if>
<xsl:text>images/seamframework/docbook/callouts/</xsl:text>
</xsl:param>
+
+<!-- Admonitions -->
+ <xsl:param name="admon.graphics.path">
+ <xsl:if test="$img.src.path != ''">
+ <xsl:value-of select="$img.src.path"/>
+ </xsl:if>
+ <xsl:text>images/seamframework/docbook/</xsl:text>
+ </xsl:param>
+
+ <!-- TODO: Add SVG images and then remove this as the default is .svg -->
+ <xsl:param name="admon.graphics.extension" select="'.png'"/>
<!-- Change the font color for titles to SeamFramework.org one -->
<xsl:param name="title.color">#576C74</xsl:param>
Added: maven-plugins/trunk/seam-jdocbook-style/src/main/css/css/seamframework-eclipse.css
===================================================================
--- maven-plugins/trunk/seam-jdocbook-style/src/main/css/css/seamframework-eclipse.css (rev 0)
+++ maven-plugins/trunk/seam-jdocbook-style/src/main/css/css/seamframework-eclipse.css 2008-04-11 08:28:57 UTC (rev 7905)
@@ -0,0 +1,5 @@
+ at import url("seamframework.css");
+
+body {
+ background-image: none;
+}
Modified: maven-plugins/trunk/seam-jdocbook-style/src/main/css/css/seamframework.css
===================================================================
--- maven-plugins/trunk/seam-jdocbook-style/src/main/css/css/seamframework.css 2008-04-11 07:46:12 UTC (rev 7904)
+++ maven-plugins/trunk/seam-jdocbook-style/src/main/css/css/seamframework.css 2008-04-11 08:28:57 UTC (rev 7905)
@@ -92,8 +92,10 @@
.docnav li.home a strong { background-image: url(../images/seamframework/docbook/home.png); }
.docnav li.up a strong { background-image: url(../images/seamframework/docbook/up.png); }
+/* Eclipse Help Navigation */
.navheader td.next a { background-image: url(../images/seamframework/docbook/next.png); }
.navheader td.previous a { background-image: url(../images/seamframework/docbook/prev.png); }
+
.navfooter td.next a { background-image: url(../images/seamframework/docbook/next.png); }
.navfooter td.previous a { background-image: url(../images/seamframework/docbook/prev.png); }
.navfooter td.home a { background-image: url(../images/seamframework/docbook/home.png); }
More information about the seam-commits
mailing list