Skip to content

Instantly share code, notes, and snippets.

@bcoca
Created November 9, 2017 17:41
Show Gist options
  • Save bcoca/432421a045153648edba8fd82455254c to your computer and use it in GitHub Desktop.
Save bcoca/432421a045153648edba8fd82455254c to your computer and use it in GitHub Desktop.
diff --git a/docs/templates/plugin.rst.j2 b/docs/templates/plugin.rst.j2
index b11b2bc07e..6d88ae64e7 100644
--- a/docs/templates/plugin.rst.j2
+++ b/docs/templates/plugin.rst.j2
@@ -46,9 +46,13 @@ Synopsis
{% if description %}
+{% if description is list %}
{% for desc in description -%}
* @{ desc | convert_symbols_to_format }@
{% endfor %}
+{% else %}
+* @{ description | convert_symbols_to_format }@
+{% endif %}
{% endif %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment