From: Alan Knowles Date: Sun, 5 Sep 2010 14:43:50 +0000 (+0800) Subject: docs.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=5b08ce822fa85f8e9b4f3578e991e7e897c234fe docs.js --- diff --git a/docs.js b/docs.js index a34e3ef..df43e06 100644 --- a/docs.js +++ b/docs.js @@ -42,7 +42,11 @@ if (typeof(Seed.argv[3]) == 'string') { } ns_list = ns_list.sort(); - +// let's try and load them, so we find out early what will fail. +ns_list.forEach(function(ns_name) +{ + var core = imports.gi[ns_name]; +} // which languages do we want to output for. langs=[]; @@ -181,4 +185,4 @@ langs.forEach(function(lang) { Gio.simple_write(outputdir + '/' + lang.name + '/index.html', ix_template.process(ns_idx)); File.silentRecursiveCopy(__script_path__ + '/templates/resources/', outputdir + '/' + lang.name , Gio.FileCopyFlags.OVERWRITE); -}); \ No newline at end of file +});