From 0e88fdd90991570262528182dc7eb29453c17d25 Mon Sep 17 00:00:00 2001 From: Steve Ebersole Date: Wed, 7 Mar 2012 20:38:55 -0600 Subject: [PATCH] HHH-7153 - Update to newest jDocBook tool chain versions --- documentation/documentation.gradle | 12 +++--- .../devguide/en-US/Batch_Processing.xml | 3 +- .../en-US/Hibernate_Development_Guide.xml | 9 +++- ...ational_Persistence_for_Idiomatic_Java.xml | 13 ++++-- .../en-US/Hibernate_Getting_Started_Guide.xml | 9 +++- .../src/main/style/css/css/hibernate.css | 21 ++++++++- .../xslt/{common.xsl => common-base.xsl} | 17 ++------ .../{xhtml-common.xsl => common-xhtml.xsl} | 27 ++++++------ .../org/hibernate/jdocbook/xslt/eclipse.xsl | 43 ------------------- .../xslt/org/hibernate/jdocbook/xslt/fop1.xsl | 5 +-- .../xslt/org/hibernate/jdocbook/xslt/pdf.xsl | 11 ++--- .../hibernate/jdocbook/xslt/xhtml-single.xsl | 12 ++---- .../org/hibernate/jdocbook/xslt/xhtml.xsl | 12 ++---- 13 files changed, 83 insertions(+), 111 deletions(-) rename documentation/src/main/style/xslt/org/hibernate/jdocbook/xslt/{common.xsl => common-base.xsl} (70%) rename documentation/src/main/style/xslt/org/hibernate/jdocbook/xslt/{xhtml-common.xsl => common-xhtml.xsl} (71%) delete mode 100644 documentation/src/main/style/xslt/org/hibernate/jdocbook/xslt/eclipse.xsl diff --git a/documentation/documentation.gradle b/documentation/documentation.gradle index 92b91d72d5..516ac9fa87 100644 --- a/documentation/documentation.gradle +++ b/documentation/documentation.gradle @@ -5,9 +5,7 @@ buildscript { mavenRepo name: 'jboss-nexus', url: "https://repository.jboss.org/nexus/content/groups/public/" } dependencies { - classpath 'org.jboss.jdocbook:gradle-jdocbook:1.1.3' - classpath "org.jboss.pressgang:pressgang-xslt:2.0.1" - classpath "org.jboss.pressgang:pressgang-fonts:2.0.1" + classpath "org.jboss.jdocbook:gradle-jdocbook:1.2.0" } } @@ -15,10 +13,10 @@ apply plugin: "java" apply plugin: "jdocbook" dependencies { - jdocbookStyles( "org.jboss.pressgang:pressgang-jdocbook-style:2.0.1" ) { - exclude group: 'org.eclipse.wst.css' - exclude group: 'org.eclipse.wst.sse' - } + pressgangVersion = '3.0.0-SNAPSHOT' + jdocbookXsl "org.jboss.pressgang:pressgang-xslt-ns:${pressgangVersion}" + jdocbookXsl "org.jboss.pressgang:pressgang-fonts:${pressgangVersion}" + jdocbookStyles "org.jboss.pressgang:pressgang-jdocbook-style:${pressgangVersion}" } defaultTasks 'buildDocs' diff --git a/documentation/src/main/docbook/devguide/en-US/Batch_Processing.xml b/documentation/src/main/docbook/devguide/en-US/Batch_Processing.xml index 76cc3a0ff2..8af7eee677 100644 --- a/documentation/src/main/docbook/devguide/en-US/Batch_Processing.xml +++ b/documentation/src/main/docbook/devguide/en-US/Batch_Processing.xml @@ -1,7 +1,8 @@ + xmlns:xi="http://www.w3.org/2001/XInclude" + xml:id="batch"> Batch Processing diff --git a/documentation/src/main/docbook/devguide/en-US/Hibernate_Development_Guide.xml b/documentation/src/main/docbook/devguide/en-US/Hibernate_Development_Guide.xml index 0caaf982b1..b856833e63 100644 --- a/documentation/src/main/docbook/devguide/en-US/Hibernate_Development_Guide.xml +++ b/documentation/src/main/docbook/devguide/en-US/Hibernate_Development_Guide.xml @@ -24,7 +24,14 @@ ©rightHolder; - + + + The Hibernate Team + + + The JBoss Visual Design Team + + diff --git a/documentation/src/main/docbook/manual/en-US/HIBERNATE_-_Relational_Persistence_for_Idiomatic_Java.xml b/documentation/src/main/docbook/manual/en-US/HIBERNATE_-_Relational_Persistence_for_Idiomatic_Java.xml index 1ed5fb1ed4..e028d5f4ce 100644 --- a/documentation/src/main/docbook/manual/en-US/HIBERNATE_-_Relational_Persistence_for_Idiomatic_Java.xml +++ b/documentation/src/main/docbook/manual/en-US/HIBERNATE_-_Relational_Persistence_for_Idiomatic_Java.xml @@ -7,8 +7,8 @@ HIBERNATE - Relational Persistence for Idiomatic Java - Hibernate Reference Documentation - &version; + Hibernate Reference Documentation + &version; 1.0 JBoss Hibernate Core &version; @@ -27,7 +27,14 @@ ©rightHolder; - + + + The Hibernate Team + + + The JBoss Visual Design Team + + diff --git a/documentation/src/main/docbook/quickstart/en-US/Hibernate_Getting_Started_Guide.xml b/documentation/src/main/docbook/quickstart/en-US/Hibernate_Getting_Started_Guide.xml index 5ec1c53713..4b987cec14 100644 --- a/documentation/src/main/docbook/quickstart/en-US/Hibernate_Getting_Started_Guide.xml +++ b/documentation/src/main/docbook/quickstart/en-US/Hibernate_Getting_Started_Guide.xml @@ -25,7 +25,14 @@ ©rightYear; ©rightHolder; - + + + The Hibernate Team + + + The JBoss Visual Design Team + + diff --git a/documentation/src/main/style/css/css/hibernate.css b/documentation/src/main/style/css/css/hibernate.css index d7f43026df..2048fbff75 100644 --- a/documentation/src/main/style/css/css/hibernate.css +++ b/documentation/src/main/style/css/css/hibernate.css @@ -69,9 +69,28 @@ h2,h3,h4,h5,h6{ div.note { background-color:#849092; color:white; + background-image: url(../images/org/hibernate/docbook/note.png); } -div.note h2 {color:white;} +div.note h2 { + color:white; +} + +div.tip { + background-image:url(../images/org/hibernate/docbook/tip.png); +} + +div.important { + background-image:url(../images/org/hibernate/docbook/important.png); +} + +div.caution { + background-image:url(../images/org/hibernate/docbook/caution.png); +} + +div.warning { + background-image:url(../images/org/hibernate/docbook/warning.png); +} div.note a:visited, div.tip a:visited, div.important a:visited, div.caution a:visited, div.warning a:visited, div.note a:link, div.tip a:link, div.important a:link, div.caution a:link, div.warning a:link { color: #f7f2d0; diff --git a/documentation/src/main/style/xslt/org/hibernate/jdocbook/xslt/common.xsl b/documentation/src/main/style/xslt/org/hibernate/jdocbook/xslt/common-base.xsl similarity index 70% rename from documentation/src/main/style/xslt/org/hibernate/jdocbook/xslt/common.xsl rename to documentation/src/main/style/xslt/org/hibernate/jdocbook/xslt/common-base.xsl index d89d5a51ab..76d286e8b1 100644 --- a/documentation/src/main/style/xslt/org/hibernate/jdocbook/xslt/common.xsl +++ b/documentation/src/main/style/xslt/org/hibernate/jdocbook/xslt/common-base.xsl @@ -3,10 +3,10 @@ - - - - - - - - - images/org/hibernate/docbook/callouts/ - - + diff --git a/documentation/src/main/style/xslt/org/hibernate/jdocbook/xslt/xhtml-common.xsl b/documentation/src/main/style/xslt/org/hibernate/jdocbook/xslt/common-xhtml.xsl similarity index 71% rename from documentation/src/main/style/xslt/org/hibernate/jdocbook/xslt/xhtml-common.xsl rename to documentation/src/main/style/xslt/org/hibernate/jdocbook/xslt/common-xhtml.xsl index dd4adddb54..aef16b5f97 100644 --- a/documentation/src/main/style/xslt/org/hibernate/jdocbook/xslt/xhtml-common.xsl +++ b/documentation/src/main/style/xslt/org/hibernate/jdocbook/xslt/common-xhtml.xsl @@ -2,10 +2,10 @@ - + + + - + legalnotice.html - + -
+
- + - - + + - - + + diff --git a/documentation/src/main/style/xslt/org/hibernate/jdocbook/xslt/eclipse.xsl b/documentation/src/main/style/xslt/org/hibernate/jdocbook/xslt/eclipse.xsl deleted file mode 100644 index fc68d5f1d0..0000000000 --- a/documentation/src/main/style/xslt/org/hibernate/jdocbook/xslt/eclipse.xsl +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - Hibernate Help - org.hibernate.help - Hibernate.org - - - diff --git a/documentation/src/main/style/xslt/org/hibernate/jdocbook/xslt/fop1.xsl b/documentation/src/main/style/xslt/org/hibernate/jdocbook/xslt/fop1.xsl index 629d080633..89c49680d8 100644 --- a/documentation/src/main/style/xslt/org/hibernate/jdocbook/xslt/fop1.xsl +++ b/documentation/src/main/style/xslt/org/hibernate/jdocbook/xslt/fop1.xsl @@ -3,10 +3,10 @@ - - - - + + diff --git a/documentation/src/main/style/xslt/org/hibernate/jdocbook/xslt/xhtml-single.xsl b/documentation/src/main/style/xslt/org/hibernate/jdocbook/xslt/xhtml-single.xsl index f38cc42115..50f0265b4f 100644 --- a/documentation/src/main/style/xslt/org/hibernate/jdocbook/xslt/xhtml-single.xsl +++ b/documentation/src/main/style/xslt/org/hibernate/jdocbook/xslt/xhtml-single.xsl @@ -3,10 +3,10 @@ - - - - - + + diff --git a/documentation/src/main/style/xslt/org/hibernate/jdocbook/xslt/xhtml.xsl b/documentation/src/main/style/xslt/org/hibernate/jdocbook/xslt/xhtml.xsl index 5b855b8985..cecdf37c8f 100644 --- a/documentation/src/main/style/xslt/org/hibernate/jdocbook/xslt/xhtml.xsl +++ b/documentation/src/main/style/xslt/org/hibernate/jdocbook/xslt/xhtml.xsl @@ -3,10 +3,10 @@ - - - - - + +