diff options
Diffstat (limited to 'docs/gen/gen.py')
| -rw-r--r-- | docs/gen/gen.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/gen/gen.py b/docs/gen/gen.py index e17b67fc..6dd77d84 100644 --- a/docs/gen/gen.py +++ b/docs/gen/gen.py @@ -63,8 +63,8 @@ This configuration will apply the specified settings application-wide to any exe for entry in data: categories[entry["category"]].append(entry) - # Put "Performance" at the top - sorted_categories = sorted(categories.items(), key=lambda x: x[0] != "Performance") + # Put "Performance" at the top, then sort the rest alphabetically + sorted_categories = sorted(categories.items(), key=lambda x: (x[0] != "Performance", x[0])) for category, entries in sorted_categories: md_file.write(f"## {category}\n\n") for entry in entries: |