From b8321c74c837a3b8d37773134c818ffccd8dcb1a Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Wed, 2 Nov 2016 16:48:07 -0700 Subject: [PATCH] Fix indentation of multiline descriptions --- hacking/templates/rst.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hacking/templates/rst.j2 b/hacking/templates/rst.j2 index d348739a186..5d292aaa502 100644 --- a/hacking/templates/rst.j2 +++ b/hacking/templates/rst.j2 @@ -79,7 +79,7 @@ Options {% else %} {% endif %} - {% for desc in v.description -%}
@{ desc | html_ify }@
{% endfor -%} {% if 'aliases' in v and v.aliases -%}
+ {% for desc in v.description -%}
@{ desc | replace('\n', '\n ') | html_ify }@
{% endfor -%} {% if 'aliases' in v and v.aliases -%}
aliases: @{ v.aliases|join(', ') }@
{%- endif %} {% endfor %}