1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-18 20:11:20 +00:00

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.
This commit is contained in:
Marc Bonnici 2018-05-23 16:25:31 +01:00 committed by setrofim
parent bbb5cb9643
commit c338962c48

View File

@ -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