Skip to content

Commit 2bd6e9e

Browse files
authored
fix: Check for references directory and generate 6.7.7 specs (#341)
* Fix check for directory and generate 6.7.7 specs * Delete references
1 parent e6fe39a commit 2bd6e9e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bin/docs_scripts/generate_json_schemas.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,10 @@ def generate_sdk_documentation():
460460
try:
461461
documentation = generate_sdk_documentation()
462462

463+
# Ensure output directory exists
464+
output_dir = str(OUTPUT_CONFIG["output_dir"])
465+
os.makedirs(output_dir, exist_ok=True)
466+
463467
output_file = os.path.join(
464468
str(OUTPUT_CONFIG["output_dir"]), str(OUTPUT_CONFIG["filename"])
465469
)

0 commit comments

Comments
 (0)