X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=blobdiff_plain;f=docs.js;h=df43e06d00c7333452259e393d0b174ba0235874;hp=a34e3efa3a3f9de1ab036488ef8fc171971db27e;hb=5b08ce822fa85f8e9b4f3578e991e7e897c234fe;hpb=f2c1fc2a704444332aa1d3ad689246de7726aa8a 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 +});