Skip to content

Commit

Permalink
Local build.py: clean _static/generated. Fixes #157
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLeoni committed Oct 1, 2023
1 parent dc64014 commit cbc3a0f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ def run_sphinx(manuals, formats):
if os.path.isdir(jupman_out):
jt.delete_tree(jupman_out, '_build')

static_generated = '_static/generated'
if os.path.isdir(static_generated):
jt.delete_tree(static_generated, '_static/generated')

for manual in manuals:
for fmt in formats:

Expand Down

0 comments on commit cbc3a0f

Please sign in to comment.