grails/grails-core — pull request #219 by mckenfra (2012-06-11 08:57:53+00:00)
Title: Support grails.doc configuration as nested Closures in Config.groovy

This commit enhances the support for rendering external links in a project's Reference Guide.

Currently, this configuration is supported in `Config.groovy`:

grails.doc.api.javax.servlet = "http://docs.oracle.com/javaee/6/api"
grails.doc.api.java.lang = "http://docs.oracle.com/javase/6/docs/api"
grails.doc.api.java.util = "http://docs.oracle.com/javase/6/docs/api"
grails.doc.api.groovy = "http://groovy.codehaus.org/gapi"

but this is not:

grails {
doc {
api {
javax.servlet = "http://docs.oracle.com/javaee/6/api"
java.lang = "http://docs.oracle.com/javase/6/docs/api"
java.util = "http://docs.oracle.com/javase/6/docs/api"
groovy = "http://groovy.codehaus.org/gapi"
}
}
}

This commit provides support for the latter configuration style.