From: Alan Knowles Date: Tue, 22 Jun 2010 14:34:46 +0000 (+0800) Subject: docs.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=34fdaa4498b5dcf091953c9074db7602d956c0a6 docs.js --- diff --git a/docs.js b/docs.js index f9d64a7..174c711 100644 --- a/docs.js +++ b/docs.js @@ -42,6 +42,17 @@ ns_list = ns_list.sort(); // which languages do we want to output for. +langs=[]; +File.list(__script_path__ + '/templates/').forEach(function(f) { + if (!File.isDirectory(__script_path__ + '/templates/' + f)) { + continue; + } + if (f == 'resources') { + continue; + } + langs.push(f); +}); + var cls_template = new Template(__script_path__ + '/templates/class.html');