Commit 901af5e1 authored by m417z's avatar m417z
Browse files

Update generate.py

parent 7ec23b30
......@@ -44,10 +44,10 @@ for chunk in re.split(r'\n\s*//\s*(?=\w)', pykd_init):
if match:
description = match[1].strip()
description = re.sub(r'(\\n)+', '\n ', description)
description = re.sub(r'(\\n)+', ' \n ', description)
args_suffix = f' ({args})' if args else ''
print(f'* [{name}](https://githomelab.ru/pykd/pykd/-/wikis/API%20Reference#{name}){args_suffix} ')
if description:
print(f' {description} ')
print(f' {description}')
print()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment