From c338962c480397c422246897ef53cfdd2212c816 Mon Sep 17 00:00:00 2001 From: Marc Bonnici Date: Wed, 23 May 2018 16:25:31 +0100 Subject: [PATCH] utils/doc: Add missing newline when generating aliases docs Ensure when extracting aliases documentation it is followed by 2 newlines so that it formats correctly. --- wa/utils/doc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wa/utils/doc.py b/wa/utils/doc.py index 56fb39ff..f20cf39d 100644 --- a/wa/utils/doc.py +++ b/wa/utils/doc.py @@ -299,7 +299,7 @@ def get_aliases_rst(aliases): for alias in aliases: param_str = ', '.join(['{}={}'.format(n, format_literal(v)) for n, v in alias.params.iteritems()]) - text += '{}\n{}\n'.format(alias.name, indent(param_str)) + text += '{}\n{}\n\n'.format(alias.name, indent(param_str)) return text