Skip to content

Commit 1087697

Browse files
Typo in function description parsing
1 parent 75a9a09 commit 1087697

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

web/scripts/builder.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ def parse_functions(self):
8888
for issue in type_info['issues']:
8989
issue['description_html'] = markdown.markdown(issue['description'])
9090

91-
type_info['description_html'] = markdown.markdown(type_info['description'])
91+
if 'description' in type_info:
92+
type_info['description_html'] = markdown.markdown(type_info['description'])
9293

9394
if ('returns' in type_info) and ('description' in type_info['returns']):
9495
type_info['returns']['description_html'] = markdown.markdown(type_info['returns']['description'])

0 commit comments

Comments
 (0)