diff --git a/.forgejo/workflows/ansible-galaxy.yml b/.forgejo/workflows/ansible-galaxy.yml index 7d99ae4..feb42a0 100644 --- a/.forgejo/workflows/ansible-galaxy.yml +++ b/.forgejo/workflows/ansible-galaxy.yml @@ -72,7 +72,7 @@ jobs: role_default.description --- a/aar_doc/templates/markdown.j2 +++ b/aar_doc/templates/markdown.j2 - @@ -29,17 +29,17 @@ Tags: {{ metadata.galaxy_info.galaxy_tags | join(', ') }} + @@ -29,10 +29,10 @@ Tags: {{ metadata.galaxy_info.galaxy_tags | join(', ') }} {{ argument_specs[entrypoint].description }} {% else %} {%- for line in argument_specs[entrypoint].description -%} @@ -87,23 +87,6 @@ jobs: {% if entrypoint_options[entrypoint] %} {%- set path, options=entrypoint_options[entrypoint][0] -%} - |Option|Description|Type|Required|Default| - |---|---|---|---|---| - {%- for name, details in options.items() %} - -| {{ name }} | {{ details.display_description }} | {{ details.display_type }} | {{ details.display_required }} | {{ details.display_default }} | - +| `{{ name }}` | {{ details.display_description }} | {{ details.display_type }} | {{ details.display_required }} | `{{ details.display_default }}` | - {%- endfor %} - - {% if entrypoint_options[entrypoint] | length > 1 -%} - @@ -49,7 +49,7 @@ Tags: {{ metadata.galaxy_info.galaxy_tags | join(', ') }} - |Option|Description|Type|Required|Default| - |---|---|---|---|---| - {%- for name, details in options.items() %} - -| {{ name }} | {{ details.display_description }} | {{ details.display_type }} | {{ details.display_required }} | {{ details.display_default }} | - +| `{{ name }}` | {{ details.display_description }} | {{ details.display_type }} | {{ details.display_required }} | `{{ details.display_default }}` | - {%- endfor %} - - {% endfor -%} EOF - name: Set version in galaxy.yml