From 7e64c3dcbde8f4ed06e6559e8d6d33adee1636d6 Mon Sep 17 00:00:00 2001 From: Axel Cocat Date: Wed, 1 Jun 2022 20:22:25 +0200 Subject: [PATCH] fix: docs generator (#41) --- src/LuaEngine/docs/ElunaDoc/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LuaEngine/docs/ElunaDoc/__main__.py b/src/LuaEngine/docs/ElunaDoc/__main__.py index d7ddc4d..75ce746 100644 --- a/src/LuaEngine/docs/ElunaDoc/__main__.py +++ b/src/LuaEngine/docs/ElunaDoc/__main__.py @@ -32,7 +32,7 @@ def make_renderer(template_path, link_parser_factory): """Return a function that can be used to render Jinja2 templates from the `template_path` directory.""" # Set up jinja2 environment to load templates from the templates folder. - env = Environment(loader=FileSystemLoader(template_path), extensions=['jinja2.ext.with_']) + env = Environment(loader=FileSystemLoader(template_path)) def inner(template_name, output_path, level, **kwargs):