Skip to content

Commit

Permalink
WebHost: delete old docs files (ArchipelagoMW#3503)
Browse files Browse the repository at this point in the history
  • Loading branch information
Berserker66 authored Jun 12, 2024
1 parent b9e454a commit 3b9b935
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions WebHost.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def create_ordered_tutorials_file() -> typing.List[typing.Dict[str, typing.Any]]
worlds[game] = world

base_target_path = Utils.local_path("WebHostLib", "static", "generated", "docs")
shutil.rmtree(base_target_path, ignore_errors=True)
for game, world in worlds.items():
# copy files from world's docs folder to the generated folder
target_path = os.path.join(base_target_path, game)
Expand Down

0 comments on commit 3b9b935

Please sign in to comment.