Skip to content

Commit

Permalink
Add clean_up script
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Milk committed Feb 4, 2025
1 parent 812c5a4 commit 266e63d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/clean_up.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
from pathlib import Path
import shutil

root = Path(__file__).parent # ./docs

target_folders = [
root / "build",
root / "examples" / "imgs",
root / "source" / "api" / "APIs",
root / "source" / "examples",
root / "source" / "how_to",
]


if __name__ == "__main__":
for folder in target_folders:
if folder.exists():
shutil.rmtree(folder)

0 comments on commit 266e63d

Please sign in to comment.