From 7ab39a2af68bb2daa3db687b12d03196210b91b9 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 6 Jul 2010 18:29:48 +0800 Subject: [PATCH] JSDOC/BuildDocs.js --- JSDOC/BuildDocs.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/JSDOC/BuildDocs.js b/JSDOC/BuildDocs.js index 59d571d..f0cade0 100644 --- a/JSDOC/BuildDocs.js +++ b/JSDOC/BuildDocs.js @@ -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 }); -- 2.39.2