Index: extra-targets.xml =================================================================== --- extra-targets.xml (revision 1388769) +++ extra-targets.xml (working copy) @@ -59,60 +59,59 @@ - + - Index: lucene/build.xml =================================================================== --- lucene/build.xml (revision 1388769) +++ lucene/build.xml (working copy) @@ -269,7 +269,7 @@ - + Index: lucene/common-build.xml =================================================================== --- lucene/common-build.xml (revision 1388769) +++ lucene/common-build.xml (working copy) @@ -240,6 +240,7 @@ + + + + + + + @@ -1771,24 +1779,25 @@ - = 0) { - title = RegExp.$1; - } - var processor = new PegDownProcessor( + + + + + \n\n'); - if (title) { - html.append('').append(FastEncoder.encode(title)).append('\n'); + StringBuilder html = new StringBuilder('\n\n'); + // match the first heading in markdown and use as title: + def matcher = (markdownSource =~ /(?m)^#+\s*(.+)$/); + if (matcher.find()) { + html.append('').append(FastEncoder.encode(matcher.group(1))).append('\n'); } html.append('\n') .append('\n\n') Index: solr/build.xml =================================================================== --- solr/build.xml (revision 1388769) +++ solr/build.xml (working copy) @@ -138,12 +138,12 @@ + depends="define-lucene-javadoc-url,javadocs-solr-core,javadocs-solrj,javadocs-test-framework,javadocs-contrib"/> - + @@ -505,10 +505,6 @@ - - - - Index: solr/common-build.xml =================================================================== --- solr/common-build.xml (revision 1388769) +++ solr/common-build.xml (working copy) @@ -275,17 +275,17 @@ - -