Skip to content

Commit b7cffad

Browse files
authored
Merge pull request #29 from bittner/feature/add-latest-version-pypi-badge
Add latest version badge for PyPI package (README)
2 parents c93c1f8 + 33344f5 commit b7cffad

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

README.rst

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,35 @@
1-
Django Bootstrap Static Files
2-
=============================
1+
==============================================
2+
Django Bootstrap Static Files |latest-version|
3+
==============================================
34

45
|bootstrap| |jquery| |fontawesome|
56

67
Bootstrap and optional Font Awesome static files ready for the picking.
78

89
Also ships the latest jQuery compatible with Bootstrap, for optional inclusion.
910

11+
.. |latest-version| image:: https://img.shields.io/pypi/v/django-bootstrap-static.svg
12+
:alt: Latest version on PyPI
13+
:target: https://pypi.python.org/pypi/django-bootstrap-static
1014
.. |bootstrap| image:: https://img.shields.io/badge/Bootstrap-v3.3.7-563d7c.svg
1115
:alt: Bootstrap 3.3.7
12-
:target: http://getbootstrap.com/getting-started/
16+
:target: http://getbootstrap.com/
1317
.. |jquery| image:: https://img.shields.io/badge/jQuery-v3.1.1-0769ad.svg
1418
:alt: jQuery 3.1.1
15-
:target: http://getbootstrap.com/getting-started/
16-
.. |fontawesome| image:: https://img.shields.io/badge/FontAwesome-v4.7.0-1c9a71.svg
19+
:target: http://jquery.com/
20+
.. |fontawesome| image:: https://img.shields.io/badge/Font_Awesome-v4.7.0-1c9a71.svg
1721
:alt: Font Awesome 4.7.0
18-
:target: http://fontawesome.io/get-started/
22+
:target: http://fontawesome.io/
1923

2024
Install
21-
-------
25+
=======
2226

2327
.. code-block:: bash
2428
2529
pip install django-bootstrap-static
2630
2731
Configuration
28-
-------------
32+
=============
2933

3034
To pickup Bootstrap static files, simply include ``'bootstrap'``, and optionally
3135
``'fontawesome'``, in your ``INSTALLED_APPS``:
@@ -60,13 +64,13 @@ More details on integration may be available from each of the two projects:
6064
- http://fontawesome.io/get-started/
6165

6266
Contribution
63-
------------
67+
============
6468

6569
Occasionally, I forget to update this package with new bootstrap updates.
6670
Please feel free to submit a PR.
6771

6872
Sources and Procedures
69-
^^^^^^^^^^^^^^^^^^^^^^
73+
----------------------
7074

7175
Bootstrap: (all files from dist package)
7276
`Bootstrap website / Getting started`_ -> drop into ``bootstrap/static/bootstrap/``
@@ -83,7 +87,7 @@ Font Awesome: (``css/``, ``fonts/`` only)
8387
.. _Font Awesome website: http://fontawesome.io/
8488

8589
Releases
86-
--------
90+
========
8791

8892
To keep with the Bootstrap release schedule we will keep version numbers of
8993
this app in sync with the bootstrap Major.Minor.Revision changes (`semver`_).

0 commit comments

Comments
 (0)