Skip to content

Commit

Permalink
Merge pull request #213 from jelmer/report-level
Browse files Browse the repository at this point in the history
Set report_level to an integer.
  • Loading branch information
jonashaag authored Jun 17, 2018
2 parents e825e17 + 876ba75 commit 05014e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion klaus/markup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 05014e0

Please sign in to comment.