Skip to content

Commit

Permalink
Clean the doc directory before doc generation
Browse files Browse the repository at this point in the history
  • Loading branch information
andrepasteur committed Jun 18, 2024
1 parent e7834ae commit b9baae9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/docs/generate_doc_terraform.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,7 @@ def main():
extention = '.md' if ARGS.new_format else '.html.markdown'
index_dirpath = ARGS.output_directory + ('/docs'
if ARGS.new_format else '/website/docs')
shutil.rmtree(index_dirpath)
print('Parsing API from {}...'.format(ARGS.api))
oapi = openapi_parser.parse(ARGS.api)

Expand Down

0 comments on commit b9baae9

Please sign in to comment.