sanjana2505006 commented on code in PR #15327:
URL: https://github.com/apache/grails-core/pull/15327#discussion_r3120052231


##########
grails-doc/build.gradle:
##########
@@ -121,6 +122,11 @@ combinedGroovydoc.configure { Groovydoc gdoc ->
     gdoc.outputs.dir(gdoc.destinationDir)
 }
 
+def fixGroovydocLinks = tasks.register('fixGroovydocLinks', 
FixGroovydocLinksTask) {

Review Comment:
   I have refactored the task 
   
   1. Renamed the task class to `AuditGroovydocLinksTask` and the task instance 
to `auditGroovydocLinks`.
   2. Removed the project property check; the task now performs an audit by 
default.
   3. Removed all patching logic. The task now only verifies the links and 
fails the build if violations are detected, forcing us to fix the source issues 
instead of post-processing the HTML.
   Let me know if the new structure looks good.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to