Skip to content

Commit

Permalink
Revert "truncate description"
Browse files Browse the repository at this point in the history
This reverts commit ce9c432.
  • Loading branch information
mmmray committed Sep 23, 2024
1 parent 18321e3 commit 5e75e58
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions scrape-docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,9 @@ def parse(stdin: Iterator[str]) -> Iterator[JsonschemaType]:
})
elif current_obj:
if current_obj['raw_properties']:
x = current_obj['raw_properties'][-1]
current_obj['raw_properties'][-1]['description'] += line
else:
x = current_obj

if not x['description']:
x['description'] += line
current_obj['description'] += line

def parse_type(input: str) -> dict:
input = input \
Expand Down

0 comments on commit 5e75e58

Please sign in to comment.