diff options
| author | Rapptz <[email protected]> | 2020-06-27 02:05:23 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2020-06-27 02:05:23 -0400 |
| commit | 6eba27d98eeff639bdcffada4c506d64052ad3e7 (patch) | |
| tree | e71a210b0c9928194220a0d27f69d3a73a156c51 | |
| parent | Show the search bar on mobile (diff) | |
| download | discord.py-6eba27d98eeff639bdcffada4c506d64052ad3e7.tar.xz discord.py-6eba27d98eeff639bdcffada4c506d64052ad3e7.zip | |
Alphabetically sort attributetable output
| -rw-r--r-- | docs/extensions/attributetable.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/extensions/attributetable.py b/docs/extensions/attributetable.py index 548d87a4..75060866 100644 --- a/docs/extensions/attributetable.py +++ b/docs/extensions/attributetable.py @@ -131,7 +131,7 @@ def process_attributetable(app, doctree, fromdocname): for label, subitems in groups.items(): if not subitems: continue - table.append(class_results_to_node(label, subitems)) + table.append(class_results_to_node(label, sorted(subitems))) table['python-class'] = fullname |