#DOCUMENTATION by cg
authorClaus Gittinger <cg@exept.de>
Fri, 04 Nov 2016 13:47:38 +0100
changeset 4126 45a9254c8f0d
parent 4125 a3d132b43f37
child 4127 1a5ac450b16c
#DOCUMENTATION by cg class: HTMLDocGenerator changed: #generateKWIC
HTMLDocGenerator.st
--- a/HTMLDocGenerator.st	Fri Nov 04 13:45:58 2016 +0100
+++ b/HTMLDocGenerator.st	Fri Nov 04 13:47:38 2016 +0100
@@ -398,12 +398,14 @@
                 or:[ word conform:#isDigit ]].
 
     Smalltalk allClassesDo:[:eachClass |
-        |doc|
-        
-        doc := eachClass commentOrDocumentationString.
-        doc notEmptyOrNil ifTrue:[
-            kwic addLine:doc reference:eachClass ignoreCase:true.
-        ].    
+        eachClass isLoaded ifTrue:[
+            |doc|
+
+            doc := eachClass commentOrDocumentationString.
+            doc notEmptyOrNil ifTrue:[
+                kwic addLine:doc reference:eachClass ignoreCase:true.
+            ].    
+        ].
     ].
 
     "/ if we have a key like 'startWith:' in the list,