Sort keys alphabetically in tables. Sort event types alphabetically in sections.
This commit is contained in:
parent
d6943dfbff
commit
d3dca1f357
2 changed files with 3 additions and 3 deletions
|
@ -7,7 +7,7 @@ def _render_section_room_events(env, units):
|
|||
examples = units.get("event-examples")
|
||||
schemas = units.get("event-schemas")
|
||||
sections = []
|
||||
for event_name in schemas:
|
||||
for event_name in sorted(schemas):
|
||||
if not event_name.startswith("m.room"):
|
||||
continue
|
||||
sections.append(template.render(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue