qmk_firmware/data/templates/xap/docs/route_request.md.j2

8 lines
272 B
Plaintext
Raw Normal View History

2022-09-26 00:09:15 +00:00
{%- if route.request_type == 'struct' -%}
__Request:__
2022-09-26 00:09:15 +00:00
{%- for member in route.request_struct_members -%}
2022-05-26 17:22:54 +00:00
<br>{{ "&nbsp;"|safe*4 }}* {{ member.name }}: `{{ member.type }}`
{%- endfor -%}
2022-09-26 00:09:15 +00:00
{%- elif route.request_type -%}
__Request:__ `{{ route.request_type }}`
2022-05-26 17:22:54 +00:00
{%- endif -%}