diff --git a/hacking/templates/rst.j2 b/hacking/templates/rst.j2 index 556ea1e36c9..8d279676cb9 100644 --- a/hacking/templates/rst.j2 +++ b/hacking/templates/rst.j2 @@ -21,7 +21,7 @@ {% if options -%} .. raw:: html -
parameter | required | @@ -58,6 +58,7 @@ {% endif %} +{% if not plainexamples %} .. raw:: html {% for example in examples %} @@ -69,22 +70,19 @@ {% endfor %}
---|