From 876ba7536a06c9040e0057ba4b29e0d3d4fb51d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jelmer=20Vernoo=C4=B3?= Date: Sun, 17 Jun 2018 13:35:54 +0100 Subject: [PATCH] Set report_level to an integer. See http://docutils.sourceforge.net/docs/user/config.html#report-level --- klaus/markup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/klaus/markup.py b/klaus/markup.py index f49c6023..d938f9a3 100644 --- a/klaus/markup.py +++ b/klaus/markup.py @@ -43,7 +43,7 @@ def _load_restructured_text(): def render_rest(content): # start by h2 and ignore invalid directives and so on # (most likely from Sphinx) - settings = {'initial_header_level': 2, 'report_level': 'quiet'} + settings = {'initial_header_level': 2, 'report_level': 0} return publish_parts(content, writer=Writer(), settings_overrides=settings).get('html_body')