Skip to content

Commit 67c90bb

Browse files
Berserker66qwint
authored andcommitted
WebHost: delete old docs files (ArchipelagoMW#3503)
1 parent 25dc615 commit 67c90bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

WebHost.py

+1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ def create_ordered_tutorials_file() -> typing.List[typing.Dict[str, typing.Any]]
5858
worlds[game] = world
5959

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

0 commit comments

Comments
 (0)