Created
November 9, 2017 17:41
-
-
Save bcoca/432421a045153648edba8fd82455254c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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