fix(ci): patch aar-doc markdown template

This commit is contained in:
s3lph 2025-03-01 00:16:48 +01:00
parent 91d7869fcc
commit a07465edde
Signed by: s3lph
GPG key ID: 0AA29A52FB33CFB5

View file

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