HHH-8720 - Create an index for the topical guides
This commit is contained in:
parent
834a71bc6d
commit
475aba7c0f
|
@ -113,19 +113,26 @@ File[] dirList(File dir) {
|
|||
|
||||
|
||||
// asciidoctor ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
task generateRegistryGuideHtml(type: org.asciidoctor.gradle.AsciidoctorTask, group: 'Documentation') {
|
||||
description = 'Generates the ServiceRegistry topical guide in HTML format.'
|
||||
task asciidoctor(type: org.asciidoctor.gradle.AsciidoctorTask, group: 'Documentation') {
|
||||
description = 'Generates the Asciidoc(tor) topical guides in HTML format.'
|
||||
backend = 'html5'
|
||||
sourceDir = file( 'src/main/asciidoc/topical/registries' )
|
||||
sourceDir = file( 'src/main/asciidoc/topical' )
|
||||
outputDir = new File("$buildDir/asciidoc/topical/html")
|
||||
}
|
||||
|
||||
task generateMetamodelgenGuideHtml(type: org.asciidoctor.gradle.AsciidoctorTask, group: 'Documentation') {
|
||||
description = 'Generates the Metamodel Generator topical guide in HTML format.'
|
||||
backend = 'html5'
|
||||
sourceDir = file( 'src/main/asciidoc/topical/metamodelgen' )
|
||||
outputDir = new File("$buildDir/asciidoc/topical/html")
|
||||
}
|
||||
//task generateRegistryGuideHtml(type: org.asciidoctor.gradle.AsciidoctorTask, group: 'Documentation') {
|
||||
// description = 'Generates the ServiceRegistry topical guide in HTML format.'
|
||||
// backend = 'html5'
|
||||
// sourceDir = file( 'src/main/asciidoc/topical/registries' )
|
||||
// outputDir = new File("$buildDir/asciidoc/topical/html")
|
||||
//}
|
||||
//
|
||||
//task generateMetamodelgenGuideHtml(type: org.asciidoctor.gradle.AsciidoctorTask, group: 'Documentation') {
|
||||
// description = 'Generates the Metamodel Generator topical guide in HTML format.'
|
||||
// backend = 'html5'
|
||||
// sourceDir = file( 'src/main/asciidoc/topical/metamodelgen' )
|
||||
// outputDir = new File("$buildDir/asciidoc/topical/html")
|
||||
//}
|
||||
|
||||
tasks.withType(org.asciidoctor.gradle.AsciidoctorTask) { docTask ->
|
||||
options = [
|
||||
|
@ -139,7 +146,7 @@ tasks.withType(org.asciidoctor.gradle.AsciidoctorTask) { docTask ->
|
|||
}
|
||||
|
||||
// - aggregator
|
||||
task asciidoctor(type: Task, group: 'Documentation')
|
||||
asciidoctor.dependsOn generateRegistryGuideHtml, generateMetamodelgenGuideHtml
|
||||
//task asciidoctor(type: Task, group: 'Documentation')
|
||||
//asciidoctor.dependsOn generateRegistryGuideHtml, generateMetamodelgenGuideHtml
|
||||
|
||||
buildDocs.dependsOn asciidoctor
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
= Topical Guides
|
||||
:toc:
|
||||
|
||||
Hibernate documentation is organized into several guides that cover specific topics. Here we link each of those
|
||||
guides and try to give some direction on where to look.
|
||||
|
||||
|
||||
== User Guides
|
||||
|
||||
Coming soon
|
||||
|
||||
== Tooling
|
||||
|
||||
* See the <<metamodelgen/MetamodelGenerator.adoc#,Metamodel Generator Guide>> for details on generating a JPA "Static Metamodel"
|
||||
* Guide on the Gradle plugin coming soon
|
||||
* Guide on the Ant tasks coming soon
|
||||
* Guide on the Maven plugin coming soon
|
||||
|
||||
|
||||
== Integrator Guides
|
||||
|
||||
* The <<registries/ServiceRegistries.adoc#,Service Registries Guide>> discusses Hibernate Service and ServiceRegistry contracts.
|
||||
* Others coming soon
|
Loading…
Reference in New Issue