From 50c25760a0e943fcb9a175d71853fdcaeb0347f0 Mon Sep 17 00:00:00 2001 From: Alicia Cozine <879121+acozine@users.noreply.github.com> Date: Wed, 4 Dec 2019 15:46:47 -0600 Subject: [PATCH] Fix ansible-galaxy man page generation (#65478) (#65523) The Action list was misformatted, leading to an error message in the man page. https://bugzilla.redhat.com/show_bug.cgi?id=1717110 (cherry picked from commit 9973121f44ec25abbf8c7c0f91dd98a127d0d071) --- docs/templates/man.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/templates/man.j2 b/docs/templates/man.j2 index d13874a8f8d..8bd3644cbd5 100644 --- a/docs/templates/man.j2 +++ b/docs/templates/man.j2 @@ -48,7 +48,7 @@ ACTIONS ------- {% for action in actions %} **{{ action }}** - {{ (actions[action]['desc']|default(' '))}} + {{ (actions[action]['desc']|default(' ')) |replace('\n', ' ')}} {% if actions[action]['options'] %} {% for option in actions[action]['options']|sort(attribute='options') %}