mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-17 15:13:23 +00:00
13 lines
615 B
Django/Jinja
13 lines
615 B
Django/Jinja
{%- for id, route in xap.routes | dictsort %}
|
|
### {{ route.name }} - `{{ id }}`
|
|
{{ route.description }}
|
|
|
|
{% if route.routes %}
|
|
| Name | Route | Tags | Payloads | Description |
|
|
| -- | -- | -- | -- | -- |
|
|
{%- for subid, subroute in route.routes | dictsort %}
|
|
| {{ subroute.name }} | `{{ id }} {{ subid }}` | {% if 'secure' == subroute.permissions %}__Secure__{% endif %} | {%- include 'route_request.md.j2' -%}{%- if subroute.return_type and subroute.request_type -%}<br><br>{% endif %}{%- include 'route_response.md.j2' -%} | {{ subroute.description.replace('\n', '<br>') }}|
|
|
{%- endfor %}
|
|
{% endif %}
|
|
{%- endfor %}
|