diff options
| author | Rapptz <[email protected]> | 2020-06-27 02:05:23 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2020-12-18 21:18:53 -0500 |
| commit | 6351ef344b4bfbeaa0d3098bbfbefb244c86d25b (patch) | |
| tree | f1825284234e03a41ea0ba78fed3b1462e93719a /docs | |
| parent | Show the search bar on mobile (diff) | |
| download | discord.py-6351ef344b4bfbeaa0d3098bbfbefb244c86d25b.tar.xz discord.py-6351ef344b4bfbeaa0d3098bbfbefb244c86d25b.zip | |
Alphabetically sort attributetable output
Diffstat (limited to 'docs')
| -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 |