Skip to content

Commit ebcc68b

Browse files
committed
tc
1 parent 72c1a40 commit ebcc68b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.jenkins/sphinx_files.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ def main() -> None:
3333
subprocess.check_output(["git", "reset", "--hard", "HEAD"])
3434
for file in glob.glob("/tmp/docs_to_zip/**/*", recursive=True):
3535
print(file)
36+
os.remove("_build/html")
37+
os.makedirs("_build", exist_ok=True)
3638
shutil.move("/tmp/docs_to_zip", "_build/html")
3739

3840
if __name__ == "__main__":

0 commit comments

Comments
 (0)