avoid clash with special files in HTML output;
authorwenzelm
Thu, 28 Dec 2017 12:26:57 +0100
changeset 67286 417e081322ae
parent 67285 e67abae0e1ca
child 67287 7ef1c5dada12
avoid clash with special files in HTML output;
src/Pure/Thy/sessions.scala
--- a/src/Pure/Thy/sessions.scala	Thu Dec 28 12:20:52 2017 +0100
+++ b/src/Pure/Thy/sessions.scala	Thu Dec 28 12:26:57 2017 +0100
@@ -29,7 +29,8 @@
 
   def exclude_session(name: String): Boolean = name == "" || name == DRAFT
 
-  def exclude_theory(name: String): Boolean = name == root_name
+  def exclude_theory(name: String): Boolean =
+    name == root_name || name == "README" || name == "index"
 
 
   /* base info and source dependencies */