fix(ci): patch aar-doc markdown template
This commit is contained in:
parent
91d7869fcc
commit
a07465edde
1 changed files with 1 additions and 18 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue