From c471a70b35fb8596bda1fec692a1c843b565ac88 Mon Sep 17 00:00:00 2001 From: strotlog <49286967+strotlog@users.noreply.github.com> Date: Wed, 30 Mar 2022 17:42:20 +0000 Subject: [PATCH] Documentation: Fix order, title, and link to SMZ3 --- WebHost.py | 2 +- WebHostLib/static/assets/tutorial/SMZ3/multiworld_en.md | 2 +- WebHostLib/static/assets/tutorial/tutorials.json | 4 ++-- WebHostLib/templates/supportedGames.html | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/WebHost.py b/WebHost.py index 6ccb3b5b..0d557b61 100644 --- a/WebHost.py +++ b/WebHost.py @@ -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) diff --git a/WebHostLib/static/assets/tutorial/SMZ3/multiworld_en.md b/WebHostLib/static/assets/tutorial/SMZ3/multiworld_en.md index 7fef4af0..5424ceb9 100644 --- a/WebHostLib/static/assets/tutorial/SMZ3/multiworld_en.md +++ b/WebHostLib/static/assets/tutorial/SMZ3/multiworld_en.md @@ -1,4 +1,4 @@ -# Super Metroid Setup Guide +# SMZ3 Setup Guide ## Required Software diff --git a/WebHostLib/static/assets/tutorial/tutorials.json b/WebHostLib/static/assets/tutorial/tutorials.json index 1b52d5f9..35d10ec8 100644 --- a/WebHostLib/static/assets/tutorial/tutorials.json +++ b/WebHostLib/static/assets/tutorial/tutorials.json @@ -356,8 +356,8 @@ "files": [ { "language": "English", - "filename": "smz3/multiworld_en.md", - "link": "smz3/multiworld/en", + "filename": "SMZ3/multiworld_en.md", + "link": "SMZ3/multiworld/en", "authors": [ "lordlou" ] diff --git a/WebHostLib/templates/supportedGames.html b/WebHostLib/templates/supportedGames.html index fb5c0ab1..c87b5919 100644 --- a/WebHostLib/templates/supportedGames.html +++ b/WebHostLib/templates/supportedGames.html @@ -10,7 +10,7 @@ {% include 'header/oceanHeader.html' %}
{{ world.__doc__ | default("No description provided.", true) }}