The default docinfo-footer.html points to a js/ directory. This breaks the reference to JavaScript in nested folders. To workaround this issue we include a custom docinfo-footer.html that points to '../js'. See https://github.com/spring-gradle-plugins/spring-build-conventions/issues/80