From 64bd052c151d75315d8e67940400841cbfee7a5a Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 22 Jun 2010 22:37:19 +0800 Subject: [PATCH] docs.js --- docs.js | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/docs.js b/docs.js index 88c56c8..884f0df 100644 --- a/docs.js +++ b/docs.js @@ -84,11 +84,14 @@ ns_list.forEach(function(ns_name) ns['left_bar'] = cls_ix_template.process(ns); - // namespace template - Gio.simple_write(outputdir + '/'+ ns_name + '.html', cls_template.process(ns)); - - // left bar index of elements in namespace... - Gio.simple_write(outputdir + '/_ix_'+ ns_name + '.shtml', cls_ix_template.process(ns)); + langs.forEach(function(lang) { + // namespace template + Gio.simple_write(outputdir + '/'+ 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)); + + }); var actions = { -- 2.39.2