Skip to content

Commit

Permalink
Use description instead of name in plugin table
Browse files Browse the repository at this point in the history
  • Loading branch information
teekuningas committed Mar 16, 2024
1 parent c0a5cec commit 9c0e4a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/update_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def search_pypi_packages(prefix):
"last_updated": metadata["releases"][version][0]["upload_time"].split(
"T"
)[0],
"name": config_data.get("name", ""),
"description": config_data.get("description", ""),
"author": config_data.get("author", ""),
}
except Exception as e:
Expand All @@ -146,7 +146,7 @@ def create_markdown_table(plugin_metadata):
data.get("version", ""),
data.get("last_updated", ""),
data.get("author", "").replace("|", "\\|"),
data.get("name", "").replace("|", "\\|"),
data.get("description", "").replace("|", "\\|"),
]
table += "| " + " | ".join(row) + " |\n"

Expand Down

0 comments on commit 9c0e4a9

Please sign in to comment.