diff --git a/hacking/templates/rst.j2 b/hacking/templates/rst.j2 index f56c57b86dd..f67e05339bc 100644 --- a/hacking/templates/rst.j2 +++ b/hacking/templates/rst.j2 @@ -46,8 +46,17 @@ {% for example in examples %} {% if example['description'] %}
@{ example['description'] | html_ify }@
{% endif %}- @{ example['code'] }@+ @{ example['code'] }@ + {% endfor %}
@{ note | html_ify }@
+ {% endfor %} +{% endif %}