badges / badges/shields

PyPI version badge doesn't include a link

Open
#8,291 11 comments 0 reactions 0 assignees View on GitHub
frontend question
Dominant language
JavaScript
Stars
27.2k
Forks
5.6k
Avg merge
1d 8h
Merged PRs (30d)
46

Description

### Are you experiencing an issue with...

shields.io

### 🐞 Description

Generated markup for PyPI version badge doesn't include a link to package repo.
```
![PyPI](https://img.shields.io/pypi/v/hy)
```
Expected this code.
```
[![PyPI Version](https://img.shields.io/pypi/v/hy.svg)](https://pypi.python.org/pypi/hy)
```

https://github.com/badges/shields/blob/master/doc/TUTORIAL.md doesn't make it immediately obvious how to pass `target` param from example template to markdown. Maybe add some mermaid diagrams to it?

### 🔗 Link to the badge

/pypi/v

### 💡 Possible Solution

_No response_

Contributor guide

Open the contributing guide

Research direction

Start at the /pypi/v badge entry point and read doc/TUTORIAL.md, focusing on how the target parameter is passed into generated Markdown. Reproduce the current markup and compare it with the expected linked example; done means the PyPI version badge output includes the package link and the relevant guidance is clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.