From: Alexandre Terrasa Date: Thu, 14 Jun 2018 19:57:22 +0000 (-0400) Subject: nitweb: compute model index at startup X-Git-Url: http://nitlanguage.org nitweb: compute model index at startup Signed-off-by: Alexandre Terrasa --- diff --git a/src/nitweb.nit b/src/nitweb.nit index 4ba30f5..9e9d54f 100644 --- a/src/nitweb.nit +++ b/src/nitweb.nit @@ -87,6 +87,7 @@ private class NitwebPhase redef fun process_mainmodule(mainmodule, mmodules) do var config = build_config(toolcontext, mainmodule) + config.model.index # pre load model index config.model.nitdoc_md_processor = config.md_processor var app = new App