From: Alexandre Terrasa Date: Thu, 25 Aug 2016 19:46:38 +0000 (-0400) Subject: nitweb: replace default md_processor so nitweb can render README files X-Git-Url: http://nitlanguage.org nitweb: replace default md_processor so nitweb can render README files Signed-off-by: Alexandre Terrasa --- diff --git a/src/nitweb.nit b/src/nitweb.nit index 071a2af..419f257 100644 --- a/src/nitweb.nit +++ b/src/nitweb.nit @@ -19,6 +19,7 @@ import popcorn::pop_config import popcorn::pop_auth import frontend import web +import doc::doc_down redef class NitwebConfig @@ -80,6 +81,7 @@ private class NitwebPhase redef fun process_mainmodule(mainmodule, mmodules) do var config = build_config(toolcontext, mainmodule) + config.model.nitdoc_md_processor = config.md_processor var app = new App