mirror of
https://github.com/qmk/qmk_firmware.git
synced 2026-09-29 21:38:47 +02:00
And sort out docs gen too
This commit is contained in:
@@ -2,4 +2,7 @@
|
||||
| -- | -- |
|
||||
{%- for type, definition in xap.term_definitions | dictsort %}
|
||||
| _{{ type }}_ | {{ definition }} |
|
||||
{%- endfor %}
|
||||
{%- for type, definition in xap.types | dictsort %}
|
||||
| _{{ definition.name }}_ | {{ definition.description }}{% if 'struct' == definition.type %} Takes the format:{% for item in definition.struct_members %}<br>`{{ item.type }}` - {{ item.name }}{%- endfor %}{% endif %} |
|
||||
{%- endfor %}
|
||||
@@ -122,25 +122,25 @@
|
||||
types: {
|
||||
identifier: {
|
||||
name: ID
|
||||
description: Subsystem/Route ID
|
||||
description: A single octet / 8-bit byte, representing Subsystem or Route index.
|
||||
type: u8
|
||||
}
|
||||
|
||||
response_flags: {
|
||||
name: Response Flags
|
||||
description: Contains the status of the request
|
||||
description: An `u8` containing the status of the request.
|
||||
type: u8
|
||||
}
|
||||
|
||||
token: {
|
||||
name: Token
|
||||
description: ID associated with a specific request as well as its corresponding response
|
||||
description: A `u16` associated with a specific request as well as its corresponding response.
|
||||
type: u16
|
||||
}
|
||||
|
||||
request_header: {
|
||||
name: Request Header
|
||||
description: asdf
|
||||
description: Packet format for inbound data.
|
||||
type: struct
|
||||
struct_members: [
|
||||
{
|
||||
@@ -156,7 +156,7 @@
|
||||
|
||||
response_header: {
|
||||
name: Response Header
|
||||
description: asdf
|
||||
description: Packet format for inbound data.
|
||||
type: struct
|
||||
struct_members: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user