fix: [doc] make linting happy

pull/681/head
Christophe Vandeplas 2024-08-13 08:41:18 +02:00
parent 3259d9ed61
commit ede96bee23
No known key found for this signature in database
GPG Key ID: BDC48619FFDC5A5B
1 changed files with 2 additions and 1 deletions

View File

@ -85,7 +85,8 @@ def generate_index_doc(module_type, root_path):
module_name_pretty = module_name
githubref = f'{githubpath}/{module_name}.py'
markdown.append(f'* [{module_name_pretty}]({githubref}) - {moduleinfo.get("description").replace('\n', ' ')}\n')
description_without_newlines = moduleinfo.get("description").replace('\n', ' ')
markdown.append(f'* [{module_name_pretty}]({githubref}) - {description_without_newlines}\n')
return markdown