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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
// asciidoctor ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
task generateRegistryGuideHtml(type: org.asciidoctor.gradle.AsciidoctorTask, group: 'Documentation') {
|
task asciidoctor(type: org.asciidoctor.gradle.AsciidoctorTask, group: 'Documentation') {
|
||||||
description = 'Generates the ServiceRegistry topical guide in HTML format.'
|
description = 'Generates the Asciidoc(tor) topical guides in HTML format.'
|
||||||
backend = 'html5'
|
backend = 'html5'
|
||||||
sourceDir = file( 'src/main/asciidoc/topical/registries' )
|
sourceDir = file( 'src/main/asciidoc/topical' )
|
||||||
outputDir = new File("$buildDir/asciidoc/topical/html")
|
outputDir = new File("$buildDir/asciidoc/topical/html")
|
||||||
}
|
}
|
||||||
|
|
||||||
task generateMetamodelgenGuideHtml(type: org.asciidoctor.gradle.AsciidoctorTask, group: 'Documentation') {
|
//task generateRegistryGuideHtml(type: org.asciidoctor.gradle.AsciidoctorTask, group: 'Documentation') {
|
||||||
description = 'Generates the Metamodel Generator topical guide in HTML format.'
|
// description = 'Generates the ServiceRegistry topical guide in HTML format.'
|
||||||
backend = 'html5'
|
// backend = 'html5'
|
||||||
sourceDir = file( 'src/main/asciidoc/topical/metamodelgen' )
|
// sourceDir = file( 'src/main/asciidoc/topical/registries' )
|
||||||
outputDir = new File("$buildDir/asciidoc/topical/html")
|
// 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 ->
|
tasks.withType(org.asciidoctor.gradle.AsciidoctorTask) { docTask ->
|
||||||
options = [
|
options = [
|
||||||
|
@ -139,7 +146,7 @@ tasks.withType(org.asciidoctor.gradle.AsciidoctorTask) { docTask ->
|
||||||
}
|
}
|
||||||
|
|
||||||
// - aggregator
|
// - aggregator
|
||||||
task asciidoctor(type: Task, group: 'Documentation')
|
//task asciidoctor(type: Task, group: 'Documentation')
|
||||||
asciidoctor.dependsOn generateRegistryGuideHtml, generateMetamodelgenGuideHtml
|
//asciidoctor.dependsOn generateRegistryGuideHtml, generateMetamodelgenGuideHtml
|
||||||
|
|
||||||
buildDocs.dependsOn asciidoctor
|
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