about summary refs log tree commit diff stats
path: root/docs/gen/gen.py
diff options
context:
space:
mode:
Diffstat (limited to 'docs/gen/gen.py')
-rw-r--r--docs/gen/gen.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/gen/gen.py b/docs/gen/gen.py
index ee20999b..e17b67fc 100644
--- a/docs/gen/gen.py
+++ b/docs/gen/gen.py
@@ -63,7 +63,9 @@ This configuration will apply the specified settings application-wide to any exe
     for entry in data:
       categories[entry["category"]].append(entry)
 
-    for category, entries in categories.items():
+    # Put "Performance" at the top
+    sorted_categories = sorted(categories.items(), key=lambda x: x[0] != "Performance")
+    for category, entries in sorted_categories:
       md_file.write(f"## {category}\n\n")
       for entry in entries:
         md_file.write(f"### {entry['name']}\n\n{entry['description']}{' Availble in WowBox64.' if entry['wine'] else ''}\n\n")