Sort keys alphabetically in tables. Sort event types alphabetically in sections.

This commit is contained in:
Kegan Dougal 2015-05-26 11:15:37 +01:00
parent d6943dfbff
commit d3dca1f357
2 changed files with 3 additions and 3 deletions

View file

@ -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(