|
Project Documentation Engine
The same documentation engine that powers the Grails reference documentation is now available in your projects. Simply create your documentation inside the src/docs/ref and src/docs/guide directories of your project. See the Grails documentation source for an example.
The engine is also usable outside of Grails by adding the grails-docs dependency to your application (example in Gradle syntax):
compile group: 'org.grails', name: 'grails-docs', version:'1.2.0.RC1'
And using the provided Ant task:
ant.taskdef (name: 'docs', classname : 'grails.doc.ant.DocPublisherTask')
ant.docs(src:"src/docs", dest:"build/docs",
properties:"src/docs/doc.properties") |
|