Author: steve.ebersole(a)jboss.com
Date: 2007-08-31 17:11:26 -0400 (Fri, 31 Aug 2007)
New Revision: 13987
Added:
documentation-style/trunk/src/main/css/shared/
documentation-style/trunk/src/main/css/shared/html.css
documentation-style/trunk/src/main/images/shared/
documentation-style/trunk/src/main/images/shared/images/
Removed:
documentation-style/trunk/src/main/css/html.css
documentation-style/trunk/src/main/images/images/
Modified:
documentation-style/trunk/pom.xml
documentation-style/trunk/src/main/xslt/standard/fopdf.xsl
documentation-style/trunk/src/main/xslt/standard/html_chunk.xsl
Log:
various cleanup
Modified: documentation-style/trunk/pom.xml
===================================================================
--- documentation-style/trunk/pom.xml 2007-08-31 20:30:16 UTC (rev 13986)
+++ documentation-style/trunk/pom.xml 2007-08-31 21:11:26 UTC (rev 13987)
@@ -1,5 +1,24 @@
-<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<?xml version="1.0"?>
+<!--
+ ~ Copyright (c) 2007, Red Hat Middleware, LLC. All rights reserved.
+ ~
+ ~ This copyrighted material is made available to anyone wishing to use, modify,
+ ~ copy, or redistribute it subject to the terms and conditions of the GNU
+ ~ Lesser General Public License, v. 2.1. This program is distributed in the
+ ~ hope that it will be useful, but WITHOUT A WARRANTY; without even the implied
+ ~ warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details. You should have received a
+ ~ copy of the GNU Lesser General Public License, v.2.1 along with this
+ ~ distribution; if not, write to the Free Software Foundation, Inc.,
+ ~ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ ~
+ ~ Red Hat Author(s): Steve Ebersole
+ -->
+<project
xmlns="http://maven.apache.org/POM/4.0.0"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
<modelVersion>4.0.0</modelVersion>
<groupId>org.hibernate</groupId>
@@ -57,4 +76,4 @@
</snapshotRepository>
</distributionManagement>
-</project>
\ No newline at end of file
+</project>
Deleted: documentation-style/trunk/src/main/css/html.css
===================================================================
--- documentation-style/trunk/src/main/css/html.css 2007-08-31 20:30:16 UTC (rev 13986)
+++ documentation-style/trunk/src/main/css/html.css 2007-08-31 21:11:26 UTC (rev 13987)
@@ -1,97 +0,0 @@
-A {
- color: #003399;
-}
-
-A:active {
- color: #003399;
-}
-
-A:visited {
- color: #888888;
-}
-
-P, OL, UL, LI, DL, DT, DD, BLOCKQUOTE {
- color: #000000;
-}
-
-TD, TH, SPAN {
- color: #000000;
-}
-
-BLOCKQUOTE {
- margin-right: 0px;
-}
-
-
-H1, H2, H3, H4, H5, H6 {
- color: #000000;
- font-weight:500;
- margin-top:10px;
- padding-top:15px;
-}
-
-TABLE {
- border-collapse: collapse;
- border-spacing:0;
- border: 1px thin black;
- empty-cells: hide;
-}
-
-TD {
- padding: 4pt;
-}
-
-H1 { font-size: 150%; }
-H2 { font-size: 140%; }
-H3 { font-size: 110%; font-weight: bold; }
-H4 { font-size: 110%; font-weight: bold;}
-H5 { font-size: 100%; font-style: italic; }
-H6 { font-size: 100%; font-style: italic; }
-
-TT {
-font-size: 90%;
- font-family: "Courier New", Courier, monospace;
- color: #000000;
-}
-
-PRE {
-font-size: 100%;
- padding: 5px;
- border-style: solid;
- border-width: 1px;
- border-color: #CCCCCC;
- background-color: #F4F4F4;
-}
-
-UL, OL, LI {
- list-style: disc;
-}
-
-HR {
- width: 100%;
- height: 1px;
- background-color: #CCCCCC;
- border-width: 0px;
- padding: 0px;
- color: #CCCCCC;
-}
-
-.variablelist {
- padding-top: 10;
- padding-bottom:10;
- margin:0;
-}
-
-.itemizedlist, UL {
- padding-top: 0;
- padding-bottom:0;
- margin:0;
-}
-
-.term {
- font-weight:bold;
-}
-
-
-
-
Copied: documentation-style/trunk/src/main/css/shared/html.css (from rev 13978,
documentation-style/trunk/src/main/css/html.css)
===================================================================
--- documentation-style/trunk/src/main/css/shared/html.css (rev
0)
+++ documentation-style/trunk/src/main/css/shared/html.css 2007-08-31 21:11:26 UTC (rev
13987)
@@ -0,0 +1,97 @@
+A {
+ color: #003399;
+}
+
+A:active {
+ color: #003399;
+}
+
+A:visited {
+ color: #888888;
+}
+
+P, OL, UL, LI, DL, DT, DD, BLOCKQUOTE {
+ color: #000000;
+}
+
+TD, TH, SPAN {
+ color: #000000;
+}
+
+BLOCKQUOTE {
+ margin-right: 0px;
+}
+
+
+H1, H2, H3, H4, H5, H6 {
+ color: #000000;
+ font-weight:500;
+ margin-top:10px;
+ padding-top:15px;
+}
+
+TABLE {
+ border-collapse: collapse;
+ border-spacing:0;
+ border: 1px thin black;
+ empty-cells: hide;
+}
+
+TD {
+ padding: 4pt;
+}
+
+H1 { font-size: 150%; }
+H2 { font-size: 140%; }
+H3 { font-size: 110%; font-weight: bold; }
+H4 { font-size: 110%; font-weight: bold;}
+H5 { font-size: 100%; font-style: italic; }
+H6 { font-size: 100%; font-style: italic; }
+
+TT {
+font-size: 90%;
+ font-family: "Courier New", Courier, monospace;
+ color: #000000;
+}
+
+PRE {
+font-size: 100%;
+ padding: 5px;
+ border-style: solid;
+ border-width: 1px;
+ border-color: #CCCCCC;
+ background-color: #F4F4F4;
+}
+
+UL, OL, LI {
+ list-style: disc;
+}
+
+HR {
+ width: 100%;
+ height: 1px;
+ background-color: #CCCCCC;
+ border-width: 0px;
+ padding: 0px;
+ color: #CCCCCC;
+}
+
+.variablelist {
+ padding-top: 10;
+ padding-bottom:10;
+ margin:0;
+}
+
+.itemizedlist, UL {
+ padding-top: 0;
+ padding-bottom:0;
+ margin:0;
+}
+
+.term {
+ font-weight:bold;
+}
+
+
+
+
Copied: documentation-style/trunk/src/main/images/shared/images (from rev 13978,
documentation-style/trunk/src/main/images/images)
Modified: documentation-style/trunk/src/main/xslt/standard/fopdf.xsl
===================================================================
--- documentation-style/trunk/src/main/xslt/standard/fopdf.xsl 2007-08-31 20:30:16 UTC
(rev 13986)
+++ documentation-style/trunk/src/main/xslt/standard/fopdf.xsl 2007-08-31 21:11:26 UTC
(rev 13987)
@@ -1,21 +1,21 @@
<?xml version="1.0"?>
<!--
+ ~ Copyright (c) 2007, Red Hat Middleware, LLC. All rights reserved.
+ ~
+ ~ This copyrighted material is made available to anyone wishing to use, modify,
+ ~ copy, or redistribute it subject to the terms and conditions of the GNU
+ ~ Lesser General Public License, v. 2.1. This program is distributed in the
+ ~ hope that it will be useful, but WITHOUT A WARRANTY; without even the implied
+ ~ warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details. You should have received a
+ ~ copy of the GNU Lesser General Public License, v.2.1 along with this
+ ~ distribution; if not, write to the Free Software Foundation, Inc.,
+ ~ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ ~
+ ~ Red Hat Author(s): Christian Bauer, Steve Ebersole
+ -->
- This is the XSL FO configuration file for the Hibernate
- Reference Documentation. It defines a custom titlepage and
- the parameters for the A4 sized PDF printable output.
-
- It took me days to figure out this stuff and fix most of
- the obvious bugs in the DocBook XSL distribution. Some of
- the workarounds might not be appropriate with a newer version
- of DocBook XSL. This file is released as part of Hibernate,
- hence LGPL licensed.
-
- christian(a)hibernate.org
-
--->
-
<xsl:stylesheet
version="1.0"
xmlns="http://www.w3.org/TR/xhtml1/transitional"
@@ -30,8 +30,10 @@
Custom Title Page
################################################### -->
- <xsl:param name="custom.titlepage.img">1</xsl:param>
+ <!-- TODO : move this inside the docbook sources -->
+ <xsl:param
name="custom.titlepage.img">shared/images/hibernate_logo_a.png</xsl:param>
+
<xsl:template name="book.titlepage.recto">
<fo:block>
<fo:table table-layout="fixed" width="175mm">
Modified: documentation-style/trunk/src/main/xslt/standard/html_chunk.xsl
===================================================================
--- documentation-style/trunk/src/main/xslt/standard/html_chunk.xsl 2007-08-31 20:30:16
UTC (rev 13986)
+++ documentation-style/trunk/src/main/xslt/standard/html_chunk.xsl 2007-08-31 21:11:26
UTC (rev 13987)
@@ -1,19 +1,21 @@
<?xml version="1.0"?>
<!--
+ ~ Copyright (c) 2007, Red Hat Middleware, LLC. All rights reserved.
+ ~
+ ~ This copyrighted material is made available to anyone wishing to use, modify,
+ ~ copy, or redistribute it subject to the terms and conditions of the GNU
+ ~ Lesser General Public License, v. 2.1. This program is distributed in the
+ ~ hope that it will be useful, but WITHOUT A WARRANTY; without even the implied
+ ~ warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details. You should have received a
+ ~ copy of the GNU Lesser General Public License, v.2.1 along with this
+ ~ distribution; if not, write to the Free Software Foundation, Inc.,
+ ~ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ ~
+ ~ Red Hat Author(s): Christian Bauer, Steve Ebersole
+ -->
- This is the XSL HTML configuration file for the Hibernate
- Reference Documentation.
-
- It took me days to figure out this stuff and fix most of
- the obvious bugs in the DocBook XSL distribution. Some of
- the workarounds might not be appropriate with a newer version
- of DocBook XSL. This file is released as part of Hibernate,
- hence LGPL licensed.
-
- christian(a)hibernate.org
--->
-
<xsl:stylesheet
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
@@ -29,7 +31,7 @@
<xsl:param name="chunk.section.depth">'5'</xsl:param>
<xsl:param name="use.id.as.filename">'1'</xsl:param>
- <xsl:param
name="html.stylesheet">../shared/css/html.css</xsl:param>
+ <xsl:param
name="html.stylesheet">shared/css/html.css</xsl:param>
<!-- These extensions are required for table printing and other stuff -->
<xsl:param name="use.extensions">1</xsl:param>