From 88aefd44adea974b5f6f5b393141b1e165f403c3 Mon Sep 17 00:00:00 2001 From: Yang Liu Date: Fri, 17 Oct 2025 19:01:37 +0800 Subject: [ENV] Added a new BOX64_ARCH option (#3076) --- docs/gen/gen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/gen/gen.py') 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: -- cgit 1.4.1