rmuir commented on code in PR #14903: URL: https://github.com/apache/lucene/pull/14903#discussion_r2188520757
########## build-tools/build-infra/src/main/groovy/lucene.documentation.render-javadoc.gradle: ########## @@ -364,13 +364,11 @@ abstract class RenderJavadocTask extends RenderJavadocTaskBase { .collect { dir -> project.file("${dir}/overview.html") } .findAll { overviewFile -> overviewFile.exists() } - if (!overviewFiles.isEmpty()) { - assert overviewFiles.size() == 1 : "More than one overview file?: " + overviewFiles - opts << [ - '-overview', - project.file("${overviewFiles.getFirst()}/overview.html") - ] - } + assert overviewFiles.size() == 1 : "Must be exactly one overview.html file: " + overviewFiles Review Comment: This problem was just me not running all the checks. I added the single missing file: I think it is easier on our reasoning to just require it. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org