Fix doc generator not cleaning properly before building

This commit is contained in:
Dan 2018-01-04 03:04:13 +01:00
parent b4fee5b5e0
commit e6a6a26b42

View File

@ -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()