Gradle documentation itself is built by Gradle, How can I write documentation with Gradle for my own project?
You can use the ‘Javadoc’ task to generate Javadoc. Beyond that, Gradle doesn’t currently ship with tasks or plugins to generate documentation. We do want to offer this eventually, in particular for documenting third-party Gradle tasks and plugins.
You might consider using DocBook. I’m looking forward to trying the following myself.
Good luck Tom