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 and agilbert1412 committed Jun 13, 2024
1 parent 0a773a6 commit 2d3bc1b
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 2d3bc1b

Please sign in to comment.