Skip to content

Commit

Permalink
fix: [doc] make linting happy
Browse files Browse the repository at this point in the history
  • Loading branch information
cvandeplas committed Aug 13, 2024
1 parent 3259d9e commit ede96be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion documentation/generate_documentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit ede96be

Please sign in to comment.