dauer commented on issue #14899:
URL: https://github.com/apache/grails-core/issues/14899#issuecomment-3150509109

   I am pretty sure the issue is when generating the sub-templates, fx.:
   https://docs.grails.org/latest/grails-data/hibernate5/manual/services/
   
   that are assembled into the final documentation:
   https://docs.grails.org/latest/grails-data/hibernate5/manual/#dataServices
   
   Changing the line from:
       `it.baseDirFollowsSourceDir()`
   to:
       `it.baseDirFollowsSourceFile()`
   
   in the file: 
       `grails-data-hibernate5/docs/build.gradle`
   
   
https://asciidoctor.github.io/asciidoctor-gradle-plugin/master/user-guide/#_task_configuration
   
   Seems to solve the issue
   
   I no longer get error messages like this when building the project:
      ` SEVERE: index.adoc: line 114: include file not found: 
grails-core/grails-data-hibernate5/docs/src/docs/asciidoc/ref/Rollback 
Scripts/dbm-generate-changelog.adoc
   `
   And the generated html in the Asciidoc sub folders are correct and no longer 
contains error messages like:
   `    
grails-doc/build/docs/grails-data/hibernate5/manual/services/index.html:<p>Unresolved
 directive in index.adoc - include::basics.adoc[]</p>
   `
   I have opened this PR with the fix:
   https://github.com/apache/grails-core/pull/14950


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@grails.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to