Skip to content

Commit

Permalink
Strip extra whitespace in generated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tgorochowik committed Oct 13, 2023
1 parent 47b58c7 commit 9a441d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions protoplaster/protoplaster
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,9 @@ def print_html_doc(tests_doc_list, docs_dir_path):
extensions=[
"jinja2.ext.do",
],
lstrip_blocks=True,
)

template = jinja2_env.get_template("jinja2-doc.rst")
output = template.render(tests_doc_list=tests_doc_list)
with open("protoplaster.rst", "w") as doc:
Expand Down

0 comments on commit 9a441d3

Please sign in to comment.