Skip to content

Commit

Permalink
Fix url extra line
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximumFX committed Apr 10, 2024
1 parent af11e11 commit a63638b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tk-readme-generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ def table(cols: list[str], rows: list[list[str]]) -> str:
readme += f"[![Documentation](https://img.shields.io/badge/documentation-blue?style=for-the-badge)]({info['documentation_url']})\n"
if "support_url" in info:
readme += f"[![Support](https://img.shields.io/badge/support-orange?style=for-the-badge)]({info['support_url']})\n"
if "documentation_url" in info:
readme += "\n"
if "documentation_url" in info or "support_url" in info:
readme += "\n"

if "description" in info:
readme += f"{info['description']}\n\n"
Expand Down

0 comments on commit a63638b

Please sign in to comment.