Create an official Poetry badge#119
Create an official Poetry badge#119Secrus merged 5 commits intopython-poetry:mainfrom johnthagen:poetry-badge
Conversation
|
@Secrus If you could review, that'd be great. |
|
Deploy preview for website ready! Built with commit dbdbcad. |
|
@johnthagen I was thinking something like: https://hatch.pypa.io/latest/next-steps/#community. |
|
@Secrus Let me know what you think of |
README.md
Outdated
| # Poetry Website | ||
|
|
||
| This is the source of the official [Poetry website](https://python-poetry.org). | ||
| [][official website] |
There was a problem hiding this comment.
| [][official website] | |
| [][official website] |
Could you make it so that this URL would work? I guess it would require some Hugo reconfiguration.
There was a problem hiding this comment.
Hmm, I'm not sure I have the experience to make that work. The way it's implemented now is how Ruff's badge works, and it seemed like a good approach?
There was a problem hiding this comment.
@Secrus It looks like this could in fact work (from the preview website, I validated that /badge/v0.json is accessible):
So the link would look like:
[][official website]Is this what you prefer? I personally think routing it to GitHub is pretty simple, but if you'd prefer we point shields.io at the Poetry website instead, I'm happy to make the changes to the PRs.
There was a problem hiding this comment.
@Secrus Just checking it to see if you wanted any more changes here.
Resolves: python-poetry/poetry#7270
Resolves: python-poetry/poetry#8011
logoSvgwas taken directly from the official Poetry website repo: https://github.com/python-poetry/website/blob/main/static/images/logo-origami.svgRelated documentation PR:
To test embedding it (pointing to built preview for the current fork):
To embed it after merge: