HHH-6036 Doc integration
@ -97,8 +97,7 @@ subprojects { subProject ->
|
|||||||
|
|
||||||
// minimize changes, at least for now (gradle uses 'build' by default)..
|
// minimize changes, at least for now (gradle uses 'build' by default)..
|
||||||
buildDir = "target"
|
buildDir = "target"
|
||||||
|
if ( ! subProject.name.startsWith( 'release' ) && ! subProject.name.startsWith( 'documentation' ) ) {
|
||||||
if ( ! subProject.name.startsWith( 'release' ) ) {
|
|
||||||
apply plugin: 'java'
|
apply plugin: 'java'
|
||||||
apply plugin: 'maven' // for install task as well as deploy dependencies
|
apply plugin: 'maven' // for install task as well as deploy dependencies
|
||||||
apply plugin: 'uploadAuth'
|
apply plugin: 'uploadAuth'
|
||||||
|
51
documentation/documentation.gradle
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
buildscript {
|
||||||
|
repositories {
|
||||||
|
mavenCentral()
|
||||||
|
mavenRepo name: "jboss", urls: "http://repository.jboss.org/nexus/content/groups/public/"
|
||||||
|
mavenRepo urls: "file://" + System.getProperty('user.home') + "/.m2/repository/"
|
||||||
|
}
|
||||||
|
dependencies {
|
||||||
|
classpath 'org.jboss.jdocbook:gradle-jdocbook:1.1.0'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
apply plugin: "jdocbook"
|
||||||
|
dependencies {
|
||||||
|
jdocbookStyles "org.hibernate:hibernate-jdocbook-style:2.0.1"
|
||||||
|
}
|
||||||
|
defaultTasks 'buildDocs'
|
||||||
|
jdocbook {
|
||||||
|
format('html_single') {
|
||||||
|
finalName = "index.html"
|
||||||
|
stylesheet = "classpath:/xslt/org/hibernate/jdocbook/xslt/xhtml-single.xsl"
|
||||||
|
}
|
||||||
|
format('html') {
|
||||||
|
finalName = "index.html"
|
||||||
|
stylesheet = "classpath:/xslt/org/hibernate/jdocbook/xslt/xhtml.xsl"
|
||||||
|
}
|
||||||
|
format {
|
||||||
|
name = "pdf"
|
||||||
|
finalName = "hibernate_reference.pdf"
|
||||||
|
stylesheet = "classpath:/xslt/org/hibernate/jdocbook/xslt/pdf.xsl"
|
||||||
|
}
|
||||||
|
|
||||||
|
devguide {
|
||||||
|
masterSourceDocumentName = 'Hibernate_Development_Guide.xml'
|
||||||
|
formats.pdf.enable = false
|
||||||
|
}
|
||||||
|
envers {
|
||||||
|
masterSourceDocumentName = 'Hibernate_Envers_-_Easy_Entity_Auditing.xml'
|
||||||
|
formats.pdf.finalName = "hibernate_envers_reference.pdf"
|
||||||
|
}
|
||||||
|
jbosscache2 {
|
||||||
|
masterSourceDocumentName = 'Hibernate_JBC_Reference.xml'
|
||||||
|
formats.pdf.finalName = "hibernate_jbc_reference.pdf"
|
||||||
|
}
|
||||||
|
manual {
|
||||||
|
masterSourceDocumentName = 'HIBERNATE_-_Relational_Persistence_for_Idiomatic_Java.xml'
|
||||||
|
translation = ['de-DE','es-ES','fr-FR','ja-JP','pt-BR','zh-CN']
|
||||||
|
}
|
||||||
|
quickstart {
|
||||||
|
masterSourceDocumentName = 'Hibernate_Getting_Started_Guide.xml'
|
||||||
|
formats.pdf.enable = false
|
||||||
|
}
|
||||||
|
}
|
@ -5,9 +5,9 @@
|
|||||||
]>
|
]>
|
||||||
<preface id="pref-Hibernate_Development_Guide-Preface">
|
<preface id="pref-Hibernate_Development_Guide-Preface">
|
||||||
<title>Preface</title>
|
<title>Preface</title>
|
||||||
<xi:include href="Common_Content/Conventions.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
<!-- <xi:include href="Common_Content/Conventions.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
<xi:include href="Feedback.xml" xmlns:xi="http://www.w3.org/2001/XInclude"><xi:fallback xmlns:xi="http://www.w3.org/2001/XInclude"><xi:include href="Common_Content/Feedback.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
<xi:include href="Feedback.xml" xmlns:xi="http://www.w3.org/2001/XInclude"><xi:fallback xmlns:xi="http://www.w3.org/2001/XInclude"><xi:include href="Common_Content/Feedback.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
|
||||||
</xi:fallback>
|
</xi:fallback>
|
||||||
</xi:include>
|
</xi:include>-->
|
||||||
</preface>
|
</preface>
|
||||||
|
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |