Rename author to authors for consistency

This commit is contained in:
Chris Wilson 2022-05-26 20:39:08 -04:00 committed by black-sliver
parent 0407df83b7
commit 17ba73b0b8
4 changed files with 17 additions and 15 deletions

View File

@ -1516,7 +1516,7 @@ class Tutorial(NamedTuple):
language: str
file_name: str
link: str
author: List[str]
authors: List[str]
seeddigits = 20

View File

@ -67,7 +67,7 @@ def create_ordered_tutorials_file() -> typing.List[typing.Dict[str, typing.Any]]
'language': tutorial.language,
'filename': game + '/' + tutorial.file_name,
'link': f'{game}/{tutorial.link}',
'authors': tutorial.author
'authors': tutorial.authors
}]
}

View File

@ -7,14 +7,16 @@ from datetime import datetime
class ArchipIDLEWebWorld(WebWorld):
theme = 'partyTime'
tutorials = [Tutorial(
"Setup Guide",
"A guide to playing ArchipIDLE",
"English",
"guide_en.md",
"guide/en",
["Farrak Kilhn"]
)]
tutorials = [
Tutorial(
tutorial_name='Setup Guide',
description='A guide to playing Archipidle',
language='English',
file_name='guide_en.md',
link='guide/en',
authors=['Farrak Kilhn']
)
]
class ArchipIDLEWorld(World):

View File

@ -82,7 +82,7 @@ class OOTWeb(WebWorld):
"Español",
"setup_es.md",
"setup/es",
setup.author
setup.authors
)
tutorials = [setup, setup_es]