Mercurial > public > gradleplugins
diff src/main/resources/org/ssdt_ohio/gradle/userdoc/templates/classDocName.html @ 20:e8e14d5d6be2
improve formatting. exclude @transient and version
author | smith@nwoca.org |
---|---|
date | Fri, 08 Jan 2016 20:16:44 +0000 |
parents | 3741247de37a |
children | e2d02e8742be |
line wrap: on
line diff
--- a/src/main/resources/org/ssdt_ohio/gradle/userdoc/templates/classDocName.html Thu Jan 07 17:22:03 2016 +0000 +++ b/src/main/resources/org/ssdt_ohio/gradle/userdoc/templates/classDocName.html Fri Jan 08 20:16:44 2016 +0000 @@ -171,7 +171,7 @@ <div class="header"> <% def pkg = classDoc.containingPackage().nameWithDots() -String classDesc = "${classDoc.isGroovy() ? "[Groovy]" : "[Java]"} ${classDoc.typeDescription} ${org.codehaus.groovy.tools.groovydoc.SimpleGroovyClassDoc.encodeAngleBrackets(classDoc.getNameWithTypeArgs())}" +String classDesc = "${classDoc.typeDescription} ${org.codehaus.groovy.tools.groovydoc.SimpleGroovyClassDoc.encodeAngleBrackets(classDoc.getNameWithTypeArgs())}" if (pkg != "DefaultPackage") { %> <div class="subTitle">Package: <strong>${pkg}</strong></div> @@ -565,7 +565,7 @@ <a name="${field.name()}"><!-- --></a> <ul class="blockListLast"> <li class="blockList"> - <h4>${annotations(field, '\n') + modifiersWithIgnore(field, false) + linkable(field.type())} <strong>${field.name()}</strong></h4> + <pre>${annotations(field, '\n')}</pre> ${modifiersWithIgnore(field, false) + linkable(field.type())} <h4>${field.name()}</h4> <p>${field.commentText()}</p> </li> </ul> @@ -585,7 +585,8 @@ <a name="${prop.name()}"><!-- --></a> <ul class="blockListLast"> <li class="blockList"> - <h4>${annotations(prop, '\n') + modifiers(prop) + linkable(prop.type())} <strong>${prop.name()}</strong></h4> + <h4>${modifiers(prop) + linkable(prop.type())} <strong>${prop.name()}</strong></h4> + <blockquote><pre>${annotations(prop, '\n')}</pre></blockquote> <p>${prop.commentText()}</p> </li> </ul> @@ -646,7 +647,8 @@ <a name="${nameFromParams(method)}"><!-- --></a> <ul class="blockListLast"> <li class="blockList"> - <h4>${annotations(method, '\n') + modifiers(method)}${linkable(method.returnType())} <strong>${method.name()}</strong>(${paramsOf(method, false)})</h4> + <h4>${modifiers(method)}${linkable(method.returnType())} <strong>${method.name()}</strong>(${paramsOf(method, false)})</h4> + <blockquote><pre>${annotations(method, '\n')}</pre></blockquote> <p>${method.commentText()}</p> </li> </ul>