Skip to content

Commit

Permalink
HHH-6036 integration documentation generation
Browse files Browse the repository at this point in the history
  • Loading branch information
stliu committed Mar 22, 2011
1 parent 0202116 commit 8c56875
Show file tree
Hide file tree
Showing 502 changed files with 61 additions and 385 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Expand Up @@ -87,7 +87,7 @@ subprojects { subProject ->
// minimize changes, at least for now (gradle uses 'build' by default)..
buildDir = "target"

if ( ! subProject.name.startsWith( 'release' ) ) {
if ( ! subProject.name.startsWith( 'release' ) && ! subProject.name.startsWith( 'documentation' ) ) {
apply plugin: 'java'
apply plugin: 'maven' // for install task as well as deploy dependencies
apply plugin: org.hibernate.build.gradle.upload.UploadAuthenticationManager
Expand Down
51 changes: 51 additions & 0 deletions documentation/documentation.gradle
@@ -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
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 8c56875

Please sign in to comment.