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;
var classes = symbols.filter(isaClass).sort(makeSortby("alias"));
Link.base = "../";
+
publish.classesIndex = classesTemplate.process(classes); // kept in memory
- IO.makeDir(publish.conf.outDir+"json");
+
for (var i = 0, l = classes.length; i < l; i++) {
var symbol = classes[i];