HHH-8483 Moving metamodelgen documentation into documentation module
This commit is contained in:
parent
7c8984469b
commit
f25ea58750
|
@ -34,6 +34,7 @@ jdocbook {
|
|||
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"
|
||||
|
@ -42,17 +43,19 @@ jdocbook {
|
|||
// book-specific config ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
quickstart {
|
||||
masterSourceDocumentName = 'Hibernate_Getting_Started_Guide.xml'
|
||||
// only html supported due to tutorials.zip
|
||||
// formats.pdf.enable = false
|
||||
}
|
||||
|
||||
devguide {
|
||||
masterSourceDocumentName = 'Hibernate_Development_Guide.xml'
|
||||
useRelativeImageUris = false
|
||||
}
|
||||
// todo : need to remove this once all content moved to devguide
|
||||
|
||||
manual {
|
||||
masterSourceDocumentName = 'HIBERNATE_-_Relational_Persistence_for_Idiomatic_Java.xml'
|
||||
// translation = ['de-DE','es-ES','fr-FR','ja-JP','pt-BR','zh-CN']
|
||||
}
|
||||
|
||||
metamodelgen {
|
||||
masterSourceDocumentName = 'master.xml'
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -69,7 +72,17 @@ stageStyles_devguide.doLast {
|
|||
}
|
||||
}
|
||||
|
||||
[ 'devguide', 'manual', 'quickstart' ].each { bookName ->
|
||||
stageStyles_metamodelgen.doLast {
|
||||
logger.lifecycle( "Staging metamodelgen-specific style resources")
|
||||
copy {
|
||||
from project.file( 'src/main/docbook/metamodelgen/en-US/images' )
|
||||
into project.file( "${buildDir}/docbook/stage/metamodelgen/images" )
|
||||
include '*.png'
|
||||
includeEmptyDirs = false
|
||||
}
|
||||
}
|
||||
|
||||
[ 'devguide', 'manual', 'quickstart', 'metamodelgen' ].each { bookName ->
|
||||
tasks[ "stageStyles_$bookName" ].doLast {
|
||||
logger.lifecycle( "Staging local style resources")
|
||||
copy {
|
||||
|
|
Before Width: | Height: | Size: 173 KiB After Width: | Height: | Size: 173 KiB |
Before Width: | Height: | Size: 365 KiB After Width: | Height: | Size: 365 KiB |
|
@ -102,44 +102,6 @@ task javadocs(type: Javadoc) {
|
|||
}
|
||||
}
|
||||
|
||||
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
// Docbook
|
||||
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
/*jdocbook {
|
||||
useRelativeImageUris = false
|
||||
|
||||
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"
|
||||
}
|
||||
|
||||
dependencies {
|
||||
jdocbookXsl libraries.pressgang_xslt
|
||||
jdocbookXsl libraries.pressgang_fonts
|
||||
jdocbookStyles libraries.hibernate_docbook_style
|
||||
jdocbookStyles libraries.jboss_docbook_style
|
||||
}
|
||||
|
||||
manual {
|
||||
masterSourceDocumentName = 'master.xml'
|
||||
}
|
||||
}
|
||||
|
||||
stageStyles_manual.doLast {
|
||||
logger.lifecycle( "Staging images")
|
||||
copy {
|
||||
from project.file( 'src/main/docbook/manual/en-US/images' )
|
||||
into project.file( "${buildDir}/docbook/stage/manual/images" )
|
||||
include '*.png'
|
||||
includeEmptyDirs = false
|
||||
}
|
||||
}*/
|
||||
|
||||
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
// Release
|
||||
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
|
Loading…
Reference in New Issue