Skip to content

Commit

Permalink
Add badges (#500)
Browse files Browse the repository at this point in the history
  • Loading branch information
ischaojie authored Dec 16, 2023
1 parent 73086f6 commit 73e639e
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,4 +158,30 @@ $ pycowsay Wow

To uninstall run `rye uninstall pycowsay` again.


## Badges

If you're using Rye, consider adding the Rye badge to project's `README.md`:

```md
[![Rye](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/mitsuhiko/rye/main/artwork/badge.json)](https://rye-up.com)
```

...or `README.rst`:

```rst
.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/mitsuhiko/rye/main/artwork/badge.json
:target: https://rye-up.com
:alt: Rye
```

...or, as HTML:

```html
<a href="https://rye-up.com"><img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/mitsuhiko/rye/main/artwork/badge.json" alt="Rye" style="max-width:100%;"></a>
```

[![Rye](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/mitsuhiko/rye/main/artwork/badge.json)](https://rye-up.com)


License: MIT
8 changes: 8 additions & 0 deletions artwork/badge.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"label": "",
"message": "Rye",
"logoSvg": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><svg id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 250\"><defs><style>.cls-1{fill:#231f20;}</style></defs><path class=\"cls-1\" d=\"m125,0C55.96,0,0,55.96,0,125c0,56.49,37.47,104.21,88.91,119.7.12-1.93.29-4.22.51-6.96.27-3.29-1.48-8.17-3.98-10.04-27.8-20.8-36.81-42.97-30.26-77.03.31-1.63,2.33-2.24,3.48-1.05,7.51,7.78,12.86,12.69,20.71,21.82,11.68,13.59,16.22,29.57,14.8,47.82,1.27-5.54,3.11-11.02,3.72-16.63,2.52-23.15,8.07-45.07,25.27-62.07,4.43-4.38,9.78-8.58,15.5-10.76,15.08-5.75,30.76-10.06,40.95-24.37.83.51-4.7,19.47-5.64,23.58-6.72,22.84-4.37,23.96-12.35,46.35-5.27,14.77-16.63,25.05-32.55,29.15-15.67,4.03-24.47,14.58-26.66,30.2-.81,5.81-1.29,9.86-1.56,12.98,7.81,1.53,15.88,2.34,24.14,2.34,69.04,0,125-55.96,125-125S194.04,0,125,0Zm-12.07,140.26c-.25,2.16-1.5,5.25-3.18,7.17-6.02,6.86-11.51,19.21-14.77,35.69-5.91-18.24-26.63-34.42-34.1-47.99-2.57-4.67-.53-20.45,2.93-33.58,6.32-18.56,6.63-21.83,10.22-37.44,17.59,14.22,21.26,23.62,30.77,40.41,4.75,8.38,9.97,19.84,8.14,35.73Zm44.03-23.67c-16.52,6.74-26.72,10.6-37.25,18.95,2.63-14.1-6.27-30.66-11.84-43.19-.82-1.84,9.88-19.35,11.78-22.28,12.54-15.62,12.17-18.42,29.47-24.81,14.1-5.21,28.32-10.1,42.34-15.09-2.49,34.29-8.38,75.77-34.5,86.42Z\"/></svg>",
"logoWidth": 12,
"labelColor": "grey",
"color": "#261230"
}

0 comments on commit 73e639e

Please sign in to comment.