Documentation: Fix order, title, and link to SMZ3

This commit is contained in:
strotlog
2022-03-30 17:42:20 +00:00
committed by Fabian Dill
parent 6aef6f2c11
commit c471a70b35
4 changed files with 5 additions and 5 deletions

View File

@@ -38,7 +38,7 @@ def create_ordered_tutorials_file():
import json
with open(os.path.join("WebHostLib", "static", "assets", "tutorial", "tutorials.json")) as source:
data = json.load(source)
data = sorted(data, key=lambda entry: entry["gameTitle"])
data = sorted(data, key=lambda entry: entry["gameTitle"].lower())
with open(os.path.join("WebHostLib", "static", "generated", "tutorials.json"), "w") as target:
json.dump(data, target)