qmk_firmware/data/templates/xap/docs/route_request.md.j2
2022-09-29 23:44:19 +01:00

8 lines
272 B
Django/Jinja

{%- if route.request_type == 'struct' -%}
__Request:__
{%- for member in route.request_struct_members -%}
<br>{{ "&nbsp;"|safe*4 }}* {{ member.name }}: `{{ member.type }}`
{%- endfor -%}
{%- elif route.request_type -%}
__Request:__ `{{ route.request_type }}`
{%- endif -%}