From 6f497dde50f26900cdce2352a3ef1b3e7350d1a1 Mon Sep 17 00:00:00 2001 From: Alexandre Terrasa Date: Thu, 25 Aug 2016 15:46:38 -0400 Subject: [PATCH] nitweb: replace default md_processor so nitweb can render README files Signed-off-by: Alexandre Terrasa --- src/nitweb.nit | 2 ++ 1 file changed, 2 insertions(+) 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 -- 1.7.9.5