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 import json
with open(os.path.join("WebHostLib", "static", "assets", "tutorial", "tutorials.json")) as source: with open(os.path.join("WebHostLib", "static", "assets", "tutorial", "tutorials.json")) as source:
data = json.load(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: with open(os.path.join("WebHostLib", "static", "generated", "tutorials.json"), "w") as target:
json.dump(data, target) json.dump(data, target)

View File

@ -1,4 +1,4 @@
# Super Metroid Setup Guide # SMZ3 Setup Guide
## Required Software ## Required Software

View File

@ -356,8 +356,8 @@
"files": [ "files": [
{ {
"language": "English", "language": "English",
"filename": "smz3/multiworld_en.md", "filename": "SMZ3/multiworld_en.md",
"link": "smz3/multiworld/en", "link": "SMZ3/multiworld/en",
"authors": [ "authors": [
"lordlou" "lordlou"
] ]

View File

@ -10,7 +10,7 @@
{% include 'header/oceanHeader.html' %} {% include 'header/oceanHeader.html' %}
<div id="games" class="markdown"> <div id="games" class="markdown">
<h1>Currently Supported Games</h1> <h1>Currently Supported Games</h1>
{% for game_name, world in worlds.items() | sort %} {% for game_name, world in worlds.items() | sort(attribute=0) %}
<h2>{{ game_name }}</h2> <h2>{{ game_name }}</h2>
<p> <p>
{{ world.__doc__ | default("No description provided.", true) }}<br /> {{ world.__doc__ | default("No description provided.", true) }}<br />