Skip to content

Commit

Permalink
On Linux, always make clean before make html
Browse files Browse the repository at this point in the history
  • Loading branch information
shi-eric committed Apr 12, 2023
1 parent 1a7980a commit 9118697
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
if os.name == 'nt':
subprocess.check_output("make.bat html", cwd="docs", shell=True)
else:
subprocess.run("make clean", cwd="docs", shell=True)
subprocess.check_output("make html", cwd="docs", shell=True)
except subprocess.CalledProcessError as e:
print(e.output.decode())
Expand Down

0 comments on commit 9118697

Please sign in to comment.