nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9872c01
)
nitweb: compute model index at startup
author
Alexandre Terrasa
<alexandre@moz-code.org>
Thu, 14 Jun 2018 19:57:22 +0000
(15:57 -0400)
committer
Alexandre Terrasa
<alexandre@moz-code.org>
Thu, 5 Jul 2018 00:43:39 +0000
(20:43 -0400)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
src/nitweb.nit
patch
|
blob
|
history
diff --git
a/src/nitweb.nit
b/src/nitweb.nit
index
4ba30f5
..
9e9d54f
100644
(file)
--- 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