<% indexMap.each { it -> %> ${it.key} <% } %>
<% indexMap.each { indexMapEntry -> %>

${indexMapEntry.key}

<% indexMapEntry.value.each { it -> %> <% final String classUrl = it.docType.fullyQualifiedClassName.replace('.','/') + '.html' %> <% if (it.docMethod) { %> <% final String methodUrl = classUrl + '#' + it.docMethod.name + '(' + it.docMethod.parametersSignature + ')' %>
${it.docMethod.name}(${it.docMethod.parametersSignature}) - Method in ${it.docType.interface ? 'interface' : 'class'} ${it.docType.packageName}.${it.docType.simpleClassName}
${it.docMethod.shortComment}
<% } else { %>
${it.docType.simpleClassName} - ${it.docType.interface ? 'Interface' : 'Class'} in ${it.docType.packageName}
${it.docType.shortComment}
<% } %>   <% } %>
<% } %> <% indexMap.each { it -> %> ${it.key} <% } %>