Skip to content

Commit ac70b55

Browse files
committed
✨ add github star badge
1 parent c7ceff1 commit ac70b55

File tree

4 files changed

+19
-0
lines changed

4 files changed

+19
-0
lines changed

CHANGELOG.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
Change log
22
================================================================================
33

4+
0.0.10 - tbd
5+
--------------------------------------------------------------------------------
6+
7+
**Added**
8+
9+
#. add github star badges
10+
411
0.0.9 - 13.10.2019
512
--------------------------------------------------------------------------------
613

README.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ pypi-mobans
88
.. image:: https://codecov.io/github/moremoban/pypi-mobans/coverage.png
99
:target: https://codecov.io/github/moremoban/pypi-mobans
1010

11+
.. image:: https://img.shields.io/github/stars/moremoban/pypi-mobans.svg?style=social&maxAge=3600&label=Star
12+
:target: https://github.com/moremoban/pypi-mobans/stargazers
1113

1214
.. image:: https://img.shields.io/gitter/room/gitterHQ/gitter.svg
1315
:target: https://gitter.im/chfw_moban/Lobby

changelog.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: pypi-mobans
22
organisation: moremoban
33
releases:
4+
- changes:
5+
- action: Added
6+
details:
7+
- "add github star badges"
8+
date: tbd
9+
version: 0.0.10
410
- changes:
511
- action: Added
612
details:

templates/badges.rst.jj2

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@
3030
.. image:: https://pepy.tech/badge/{{name}}/month
3131
:target: https://pepy.tech/project/{{name}}/month
3232
{% endif %}
33+
{% if scm_host == 'github.com' %}
34+
.. image:: https://img.shields.io/github/stars/{{organisation}}/{{name}}.svg?style=social&maxAge=3600&label=Star
35+
:target: https://github.com/{{organisation}}/{{name}}/stargazers
36+
{% endif %}
3337

3438
{% if gitter_room %}
3539
.. image:: https://img.shields.io/gitter/room/gitterHQ/gitter.svg

0 commit comments

Comments
 (0)