diff --git a/docs/source/generator.py b/docs/source/generator.py index 396f75a7..a24e29fb 100644 --- a/docs/source/generator.py +++ b/docs/source/generator.py @@ -26,6 +26,7 @@ types_path = "../../pyrogram/api/types" types_base = "types" shutil.rmtree(types_base, ignore_errors=True) +shutil.rmtree(functions_base, ignore_errors=True) with open("_templates/page.txt") as f: page_template = f.read()