JSDOC/BuildDocs.js
authorAlan Knowles <alan@akbkhome.com>
Tue, 6 Jul 2010 10:26:37 +0000 (18:26 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 6 Jul 2010 10:26:37 +0000 (18:26 +0800)
JSDOC/BuildDocs.js

index 76d578d..7812b3e 100644 (file)
@@ -171,13 +171,17 @@ BuildDocs = {
         if (!File.isDirectory(Options.target+"/symbols/src"))
             File.mkdir(Options.target+"/symbols/src");
         
+        if (!File.isDirectory(Options.target +"/json")) {
+            File.makeDir(Options.target +"/json");
+        }
+        
+        Options.LOG.inform("Copying files from static");
         // copy everything in 'static' into 
         File.list(Options.templatesDir + '/static').forEach(function (f) {
             File.copy(Options.templatesDir + '/static/' + f, Options.target + '/' + f);
         });
-        if (!File.isDirectory(Options.target +"/json")) {
-            File.makeDir(Options.target +"/json");
-        }
+        
+        
         
         // used to check the details of things being linked to
         Link.symbolSet = symbolSet;