From 256f172ccc058dd0da0665e46bb452986a4f11c9 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 22 Jun 2010 22:28:02 +0800 Subject: [PATCH] docs.js --- docs.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs.js b/docs.js index b23fc2c..85f82a0 100644 --- 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); -- 2.39.2