about summary refs log tree commit diff stats
path: root/docs/gen/gen.py
diff options
context:
space:
mode:
authorYang Liu <liuyang22@iscas.ac.cn>2025-10-17 19:01:37 +0800
committerGitHub <noreply@github.com>2025-10-17 13:01:37 +0200
commit88aefd44adea974b5f6f5b393141b1e165f403c3 (patch)
treeee8d627af35c0838fcb73d9720747e24e10e8306 /docs/gen/gen.py
parentc8f6041ab0cecf777aea51303efb08cf0781b2ce (diff)
downloadbox64-88aefd44adea974b5f6f5b393141b1e165f403c3.tar.gz
box64-88aefd44adea974b5f6f5b393141b1e165f403c3.zip
[ENV] Added a new BOX64_ARCH option (#3076)
Diffstat (limited to 'docs/gen/gen.py')
-rw-r--r--docs/gen/gen.py4
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: