docs.js
authorAlan Knowles <alan@akkbhome.com>
Tue, 22 Jun 2010 14:28:02 +0000 (22:28 +0800)
committerAlan Knowles <alan@akkbhome.com>
Tue, 22 Jun 2010 14:28:02 +0000 (22:28 +0800)
docs.js

diff --git a/docs.js b/docs.js
index b23fc2c..85f82a0 100644 (file)
--- a/docs.js
+++ b/docs.js
@@ -41,9 +41,9 @@ if (typeof(Seed.argv[3]) == 'string') {
  
 ns_list = ns_list.sort();
 
-var cls_template = new Template(__script_path__ + '/docs/class.html');
-var cls_ix_template = new Template(__script_path__ + '/docs/class_ix.html');
-var reference_template = new Template(__script_path__ + '/docs/references.html');
+var cls_template = new Template(__script_path__ + '/templates/class.html');
+var cls_ix_template = new Template(__script_path__ + '/templates/class_ix.html');
+var reference_template = new Template(__script_path__ + '/templates/references.html');
 var ns_idx = [];
 ns_list.forEach(function(ns_name) 
 {
@@ -127,6 +127,6 @@ for (var i in Introspect.references) {
 
 }
 
-var ix_template = new Template(__script_path__ + '/docs/index.html');
+var ix_template = new Template(__script_path__ + '/templates/index.html');
 Gio.simple_write(outputdir + '/index.html', ix_template.process(ns_idx));
-File.silentRecursiveCopy(__script_path__ + '/docs/resources/', outputdir, Gio.FileCopyFlags.OVERWRITE);
+File.silentRecursiveCopy(__script_path__ + '/templates/resources/', outputdir, Gio.FileCopyFlags.OVERWRITE);