Skip to content
Snippets Groups Projects
Commit b87c4020 authored by Hugo Trentesaux's avatar Hugo Trentesaux Committed by Hugo Trentesaux
Browse files

wip more compact

parent b5138f65
No related branches found
No related tags found
1 merge request!202add runtime events doc
This diff is collapsed.
......@@ -8,23 +8,22 @@ There are **{{event_counter}}** events from **{{ pallets | length }}** pallets.
<ul>
{% for event in pallet.events -%}
<li>
<details>
<summary>
<code>{{ event.name }}(
{%- for param in event.params -%}
{{ param.name }}{% if loop.last != true %}, {% endif %}
{%- endfor -%}
)</code> - {{ event.index }}
{% if event.params | length != 0 %}
<details>
<summary>args</summary>
)</code> - {{ event.index }}</summary>
```rust
{% for param in event.params -%}
{{ param.name }}: {{ param.type_name }}
{%- else -%}no args
{% endfor -%}
```
</details>
{% endif %}
</li>
{% endfor -%}
</ul>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment