Skip to content

Commit

Permalink
try to edit path
Browse files Browse the repository at this point in the history
  • Loading branch information
Theodlz committed Oct 7, 2024
1 parent 971b81e commit e96d551
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion launcher/commands/doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ def patch_api_doc_template():
output = template.render(openapi_spec=json.dumps(openapi_spec, indent=2))

# Write the output to a new HTML file
with open("../doc/_build/html/api.html", "w") as f:
os.makedirs("./doc/_build/html", exist_ok=True)
with open("./doc/_build/html/api.html", "w") as f:
f.write(output)


Expand Down

0 comments on commit e96d551

Please sign in to comment.