continue;
}
langs.push({
- cls_template : new Template(__script_path__ + '/templates/' + f + '/class.html'),
- cls_ix_template : new Template(__script_path__ + '/templates/' + f + '/class_ix.html'),
- reference_template : new Template(__script_path__ + '/templates/' + f + '/references.html'),
+ name : f,
+ cls_template : new Template(__script_path__ + '/templates/' + f + '/class.html'),
+ cls_ix_template : new Template(__script_path__ + '/templates/' + f + '/class_ix.html'),
+ reference_template : new Template(__script_path__ + '/templates/' + f + '/references.html'),
});
});
langs.forEach(function(lang) {
// namespace template
- Gio.simple_write(outputdir + '/'+ ns_name + '.html', lang.cls_template.process(ns));
+ Gio.simple_write(outputdir + '/'+ lang.name+ '/' +ns_name + '.html', lang.cls_template.process(ns));
// left bar index of elements in namespace...
- Gio.simple_write(outputdir + '/_ix_'+ ns_name + '.shtml', lang.cls_ix_template.process(ns));
+ Gio.simple_write(outputdir + '/'+ lang.name + '/_ix_'+ ns_name + '.shtml', lang.cls_ix_template.process(ns));
});