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

8 lines
282 B
Plaintext
Raw Normal View History

2022-05-26 17:22:54 +00:00
{%- if subroute.return_type == 'struct' -%}
__Response:__
2022-05-26 17:22:54 +00:00
{%- for member in subroute.return_struct_members -%}
<br>{{ "&nbsp;"|safe*4 }}* {{ member.name }}: `{{ member.type }}`
{%- endfor -%}
{%- elif subroute.return_type -%}
__Response:__ `{{ subroute.return_type }}`
2022-05-26 17:22:54 +00:00
{%- endif -%}