helpers doc: fix detail block, cant use the HTML <details> because grav doesnt interpret markdown in it

This commit is contained in:
Alexandre Aubin 2024-06-25 14:17:49 +02:00
parent 997388dc79
commit feb9a095b3

View file

@ -21,7 +21,7 @@ Doc auto-generated by [this script](https://github.com/YunoHost/yunohost/blob/{{
{% for h in helpers %}
#### {{ h.name }}
<details> <summary><i>{{ h.brief }}</i></summary>
[details summary="<i>{{ h.brief }}</i>" class="helper-card-subtitle text-muted"]
**Usage**: `{{ h.usage }}`
{%- if h.args %}
@ -60,7 +60,7 @@ Doc auto-generated by [this script](https://github.com/YunoHost/yunohost/blob/{{
{{ h.details }}
{%- endif %}
[Dude, show me the code!](https://github.com/YunoHost/yunohost/blob/{{ current_commit }}/helpers/helpers.v{{ helpers_version if helpers_version != "2" else "1" }}.d/{{ subsection }}#L{{ h.line + 1 }})
</details>
[/details]
{% endfor %}
---
{% endfor %}