From e6a6a26b4202f5182d5c26fcc0f33dacbcb6882c Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Thu, 4 Jan 2018 03:04:13 +0100 Subject: [PATCH] Fix doc generator not cleaning properly before building --- docs/source/generator.py | 1 + 1 file changed, 1 insertion(+) 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()