@@ -265,13 +265,59 @@ asciidoctorj {
265265
266266// Topical Guides ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
267267
268+ def renderTopicalLoggingGuideHtmlTask = tasks. register( ' renderTopicalLoggingGuideHtml' , AsciidoctorTask ) { task ->
269+ group = " Documentation"
270+ description = ' Renders the Topical Logging Guide in HTML format using Asciidoctor.'
271+ inputs. property " hibernate-version" , hibernateVersion
272+
273+ sourceDir = file( ' src/main/asciidoc/topical/logging' )
274+ sources ' index.adoc'
275+ outputDir = project. layout. buildDirectory. file( " asciidoc/topical/html_single/logging" ). get(). asFile
276+
277+ resources {
278+ from( ' src/main/asciidoc/topical/' ) {
279+ include ' **/images/**'
280+ }
281+ from(rootProject. layout. buildDirectory. dir(" unpacked-theme" ). get()
282+ .dir(" hibernate-asciidoctor-theme" ). dir(" asciidoc" )) {
283+ include ' css/**'
284+ include ' images/**'
285+ include ' script/**'
286+ }
287+ }
288+ }
289+
290+ def renderTopicalRegistriesGuideHtmlTask = tasks. register( ' renderTopicalRegistriesGuideHtml' , AsciidoctorTask ) { task ->
291+ group = " Documentation"
292+ description = ' Renders the Topical Registries Guide in HTML format using Asciidoctor.'
293+ inputs. property " hibernate-version" , hibernateVersion
294+
295+ sourceDir = file( ' src/main/asciidoc/topical/registries' )
296+ sources ' index.adoc'
297+ outputDir = project. layout. buildDirectory. file( " asciidoc/topical/html_single/registries" ). get(). asFile
298+
299+ resources {
300+ from( ' src/main/asciidoc/topical/' ) {
301+ include ' **/images/**'
302+ }
303+ from(rootProject. layout. buildDirectory. dir(" unpacked-theme" ). get()
304+ .dir(" hibernate-asciidoctor-theme" ). dir(" asciidoc" )) {
305+ include ' css/**'
306+ include ' images/**'
307+ include ' script/**'
308+ }
309+ }
310+ }
311+
312+
268313def renderTopicalGuideHtmlTask = tasks. register( ' renderTopicalGuideHtml' , AsciidoctorTask ) { task ->
269314 group = " Documentation"
270315 description = ' Renders the Topical Guides in HTML format using Asciidoctor.'
271316 inputs. property " hibernate-version" , hibernateVersion
272317
273318 sourceDir = file( ' src/main/asciidoc/topical' )
274- outputDir = new File ( " $buildDir /asciidoc/topical/html_single" )
319+ sources ' index.adoc'
320+ outputDir = project. layout. buildDirectory. file( " asciidoc/topical/html_single" ). get(). asFile
275321
276322 resources {
277323 from( ' src/main/asciidoc/topical/' ) {
@@ -284,6 +330,9 @@ def renderTopicalGuideHtmlTask = tasks.register( 'renderTopicalGuideHtml', Ascii
284330 include ' script/**'
285331 }
286332 }
333+
334+ dependsOn renderTopicalLoggingGuideHtmlTask
335+ dependsOn renderTopicalRegistriesGuideHtmlTask
287336}
288337
289338def renderTopicalGuidesTask = tasks. register( ' renderTopicalGuides' , AsciidoctorTask ) { task ->
0 commit comments