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

index 59d571d..f0cade0 100644 (file)
@@ -175,11 +175,11 @@ BuildDocs = {
             File.mkdir(Options.target +"/json");
         }
         
-        Options.LOG.inform("Copying files from static: " +Options.templatesDir);
+        Options.LOG.inform("Copying files from static: " +Options.templateDir);
         // copy everything in 'static' into 
-        File.list(Options.templatesDir + '/static').forEach(function (f) {
-            Options.LOG.inform("Copy " + Options.templatesDir + '/static/' + f + ' to  ' + Options.target + '/' + f);
-            File.copy(Options.templatesDir + '/static/' + f, Options.target + '/' + f);
+        File.list(Options.templateDir + '/static').forEach(function (f) {
+            Options.LOG.inform("Copy " + Options.templateDir + '/static/' + f + ' to  ' + Options.target + '/' + f);
+            File.copy(Options.templateDir + '/static/' + f, Options.target + '/' + f);
         });
         
         
@@ -189,19 +189,19 @@ BuildDocs = {
         Link.base = "../";
         
         var classTemplate = new Template({
-             templateFile : Options.templatesDir  + "/class.tmpl",
+             templateFile : Options.templateDir  + "/class.tmpl",
              Link : Link
         });
         var classesTemplate = new Template({
-            templateFile : Options.templatesDir +"/allclasses.tmpl",
+            templateFile : Options.templateDir +"/allclasses.tmpl",
             Link : Link
         });
         var classesindexTemplate = new Template({
-            templateFile : Options.templatesDir +"/index.tmpl",
+            templateFile : Options.templateDir +"/index.tmpl",
             Link : Link
         });
         var fileindexTemplate = new Template({   
-            templateFile : Options.templatesDir +"/allfiles.tmpl",
+            templateFile : Options.templateDir +"/allfiles.tmpl",
             Link: Link
         });