diff --git a/project/Unidoc.scala b/project/Unidoc.scala index fd78f61359..ebbffc45ca 100644 --- a/project/Unidoc.scala +++ b/project/Unidoc.scala @@ -58,10 +58,12 @@ object Unidoc { val hasDiagram = files exists { f => val name = f.getName if (name.endsWith(".html") && !name.startsWith("index-") && - !(name.compare("index.html") == 0) && !(name.compare("package.html") == 0)) { - val source = scala.io.Source.fromFile(f)("utf-8") - val hd = source.getLines().exists(_.contains("