mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-24 07:51:44 +00:00
Fix doc generator not cleaning properly before building
This commit is contained in:
parent
b4fee5b5e0
commit
e6a6a26b42
@ -26,6 +26,7 @@ types_path = "../../pyrogram/api/types"
|
|||||||
types_base = "types"
|
types_base = "types"
|
||||||
|
|
||||||
shutil.rmtree(types_base, ignore_errors=True)
|
shutil.rmtree(types_base, ignore_errors=True)
|
||||||
|
shutil.rmtree(functions_base, ignore_errors=True)
|
||||||
|
|
||||||
with open("_templates/page.txt") as f:
|
with open("_templates/page.txt") as f:
|
||||||
page_template = f.read()
|
page_template = f.read()
|
||||||
|
Loading…
Reference in New Issue
Block a user