Skip to content

Commit cf6848c

Browse files
committed
Tweaked layout of README badges
They're now aligned left-to-right instead of above each other on GitHub. (The rendered RST on PyPI and in the docs should be unaffected.) Also changed their order.
1 parent 87a08b7 commit cf6848c

File tree

1 file changed

+22
-20
lines changed

1 file changed

+22
-20
lines changed

README.rst

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,42 @@
1-
django-simple-history
2-
=====================
1+
django-simple-history |pypi-version|
2+
====================================
33

4-
.. image:: https://github.com/jazzband/django-simple-history/actions/workflows/test.yml/badge.svg
4+
|jazzband| |build-status| |docs| |coverage| |maintainability| |code-style| |downloads|
5+
6+
.. |pypi-version| image:: https://img.shields.io/pypi/v/django-simple-history.svg
7+
:target: https://pypi.org/project/django-simple-history/
8+
:alt: PyPI Version
9+
10+
.. |jazzband| image:: https://jazzband.co/static/img/badge.svg
11+
:target: https://jazzband.co/
12+
:alt: Jazzband
13+
14+
.. |build-status| image:: https://github.com/jazzband/django-simple-history/actions/workflows/test.yml/badge.svg
515
:target: https://github.com/jazzband/django-simple-history/actions/workflows/test.yml
616
:alt: Build Status
717

8-
.. image:: https://readthedocs.org/projects/django-simple-history/badge/?version=latest
18+
.. |docs| image:: https://readthedocs.org/projects/django-simple-history/badge/?version=latest
919
:target: https://django-simple-history.readthedocs.io/en/latest/?badge=latest
1020
:alt: Documentation Status
1121

12-
.. image:: https://img.shields.io/codecov/c/github/jazzband/django-simple-history/master.svg
22+
.. |coverage| image:: https://img.shields.io/codecov/c/github/jazzband/django-simple-history/master.svg
1323
:target: https://app.codecov.io/github/jazzband/django-simple-history?branch=master
1424
:alt: Test Coverage
1525

16-
.. image:: https://img.shields.io/pypi/v/django-simple-history.svg
17-
:target: https://pypi.org/project/django-simple-history/
18-
:alt: PyPI Version
19-
20-
.. image:: https://api.codeclimate.com/v1/badges/66cfd94e2db991f2d28a/maintainability
26+
.. |maintainability| image:: https://api.codeclimate.com/v1/badges/66cfd94e2db991f2d28a/maintainability
2127
:target: https://codeclimate.com/github/jazzband/django-simple-history/maintainability
2228
:alt: Maintainability
2329

24-
.. image:: https://static.pepy.tech/badge/django-simple-history
25-
:target: https://pepy.tech/project/django-simple-history
26-
:alt: Downloads
27-
28-
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
30+
.. |code-style| image:: https://img.shields.io/badge/code%20style-black-000000.svg
2931
:target: https://github.com/psf/black
3032
:alt: Code Style
3133

32-
.. image:: https://jazzband.co/static/img/badge.svg
33-
:target: https://jazzband.co/
34-
:alt: Jazzband
34+
.. |downloads| image:: https://static.pepy.tech/badge/django-simple-history
35+
:target: https://pepy.tech/project/django-simple-history
36+
:alt: Downloads
3537

3638

37-
django-simple-history stores Django model state on every create/update/delete.
39+
``django-simple-history`` stores Django model state on every create/update/delete.
3840

3941
This app supports the following combinations of Django and Python:
4042

@@ -51,7 +53,7 @@ Getting Help
5153

5254
Documentation is available at https://django-simple-history.readthedocs.io/en/stable/
5355

54-
Pull requests are welcome. Read the `CONTRIBUTING`_ file for tips on
56+
Pull requests are welcome. Read the `CONTRIBUTING`_ file for tips on
5557
submitting a pull request.
5658

5759
.. _CONTRIBUTING: https://github.com/jazzband/django-simple-history/blob/master/CONTRIBUTING.rst

0 commit comments

Comments
 (0)