Skip to content

Commit 8a141fb

Browse files
committed
Support empty input description
1 parent 25fd9be commit 8a141fb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

automation/script/doc.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,10 @@ def generate_docs(script_repo, metadata, script_path, generic_inputs):
141141
script_variations = metadata.get('variations', {})
142142
default_version = metadata.get('default_version')
143143

144+
for k in script_input_mapping:
145+
if k not in script_input_description:
146+
script_input_description[k] = ''
147+
144148
r = get_run_readme(
145149
tags_string,
146150
script_input_mapping,

0 commit comments

Comments
 (0)