mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-31 06:16:06 +00:00
Fix doc generator not cleaning properly before building
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user