-
-
Notifications
You must be signed in to change notification settings - Fork 40.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix xap docs gen + clarify some broadcast messages
- Loading branch information
Showing
12 changed files
with
78 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{%- for id, message in xap.broadcast_messages.messages | dictsort %} | ||
{% for id, message in xap.broadcast_messages.messages | dictsort %} | ||
### {{ message.name }} - `{{ id }}` | ||
{{ message.description }} | ||
{%- endfor %} | ||
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
{{ constants.GPL2_HEADER_XML_LIKE }} | ||
{{ constants.GENERATED_HEADER_XML_LIKE }} | ||
{%- for item in xap.documentation.order -%} | ||
{%- if not item[0:1] == '!' -%} | ||
{%- for item in xap.documentation.order %} | ||
{% if not item[0:1] == '!' %} | ||
{{ xap.documentation.get(item) }} | ||
|
||
{% else %} | ||
{%- include item[1:] %} | ||
{% include item[1:] %} | ||
|
||
{% endif %} | ||
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
|{% for bitnum, bitinfo in xap.response_flags.bits | dictsort | reverse %} Bit {{ bitnum }} |{% endfor %} | ||
|
||
|{% for bitnum, bitinfo in xap.response_flags.bits | dictsort | reverse %} -- |{% endfor %} | ||
|{% for bitnum, bitinfo in xap.response_flags.bits | dictsort | reverse %} `{{ bitinfo.define }}` |{%- endfor %} | ||
|
||
|{% for bitnum, bitinfo in xap.response_flags.bits | dictsort | reverse %} `{{ bitinfo.define }}` |{% endfor %} | ||
|
||
|
||
{% for bitnum, bitinfo in xap.response_flags.bits | dictsort | reverse %} | ||
{%- if bitinfo.define != "-" -%} | ||
{% if bitinfo.define != "-" -%} | ||
* Bit {{ bitnum }} (`{{ bitinfo.define }}`): {{ bitinfo.description }} | ||
{% endif %} | ||
{%- endfor %} | ||
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
| Name | Definition | | ||
| -- | -- | | ||
{%- for type, definition in xap.term_definitions | dictsort %} | ||
{% for type, definition in xap.term_definitions | dictsort %} | ||
| _{{ type }}_ | {{ definition }} | | ||
{%- endfor %} | ||
{%- for type, definition in xap.type_definitions | dictsort %} | ||
{% endfor %} | ||
{% for type, definition in xap.type_definitions | 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 %} | ||
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
| Name | Definition | | ||
| -- | -- | | ||
{%- for type, definition in xap.type_docs | dictsort %} | ||
{% for type, definition in xap.type_docs | dictsort %} | ||
| _{{ type }}_ | {{ definition }} | | ||
{%- endfor %} | ||
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.