From 38d1cba048ec2bc36e5276a4640f8acc2ed91ae0 Mon Sep 17 00:00:00 2001 From: Peter Bittner Date: Tue, 7 Feb 2017 16:09:09 +0100 Subject: [PATCH 1/3] Add latest version badge for PyPI package (README) --- README.rst | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/README.rst b/README.rst index 2d2b1d8..cd1305b 100644 --- a/README.rst +++ b/README.rst @@ -1,5 +1,6 @@ -Django Bootstrap Static Files -============================= +============================================== +Django Bootstrap Static Files |latest-version| +============================================== |bootstrap| |jquery| |fontawesome| @@ -7,6 +8,9 @@ Bootstrap and optional Font Awesome static files ready for the picking. Also ships the latest jQuery compatible with Bootstrap, for optional inclusion. +.. |latest-version| image:: https://img.shields.io/pypi/v/django-bootstrap-static.svg + :alt: Latest version on PyPI + :target: https://pypi.python.org/pypi/django-bootstrap-static .. |bootstrap| image:: https://img.shields.io/badge/Bootstrap-v3.3.7-563d7c.svg :alt: Bootstrap 3.3.7 :target: http://getbootstrap.com/getting-started/ @@ -18,14 +22,14 @@ Also ships the latest jQuery compatible with Bootstrap, for optional inclusion. :target: http://fontawesome.io/get-started/ Install -------- +======= .. code-block:: bash pip install django-bootstrap-static Configuration -------------- +============= To pickup Bootstrap static files, simply include ``'bootstrap'``, and optionally ``'fontawesome'``, in your ``INSTALLED_APPS``: @@ -60,13 +64,13 @@ More details on integration may be available from each of the two projects: - http://fontawesome.io/get-started/ Contribution ------------- +============ Occasionally, I forget to update this package with new bootstrap updates. Please feel free to submit a PR. Sources and Procedures -^^^^^^^^^^^^^^^^^^^^^^ +---------------------- Bootstrap: (all files from dist package) `Bootstrap website / Getting started`_ -> drop into ``bootstrap/static/bootstrap/`` @@ -83,7 +87,7 @@ Font Awesome: (``css/``, ``fonts/`` only) .. _Font Awesome website: http://fontawesome.io/ Releases --------- +======== To keep with the Bootstrap release schedule we will keep version numbers of this app in sync with the bootstrap Major.Minor.Revision changes (`semver`_). From dccbca72deb1e3f528e42e2ac771ea2f034a1607 Mon Sep 17 00:00:00 2001 From: Peter Bittner Date: Tue, 7 Feb 2017 22:06:40 +0100 Subject: [PATCH 2/3] Use correct URLs for badges (README) --- README.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index cd1305b..7a0ab5a 100644 --- a/README.rst +++ b/README.rst @@ -13,13 +13,13 @@ Also ships the latest jQuery compatible with Bootstrap, for optional inclusion. :target: https://pypi.python.org/pypi/django-bootstrap-static .. |bootstrap| image:: https://img.shields.io/badge/Bootstrap-v3.3.7-563d7c.svg :alt: Bootstrap 3.3.7 - :target: http://getbootstrap.com/getting-started/ + :target: http://getbootstrap.com/ .. |jquery| image:: https://img.shields.io/badge/jQuery-v3.1.1-0769ad.svg :alt: jQuery 3.1.1 - :target: http://getbootstrap.com/getting-started/ + :target: http://jquery.com/ .. |fontawesome| image:: https://img.shields.io/badge/FontAwesome-v4.7.0-1c9a71.svg :alt: Font Awesome 4.7.0 - :target: http://fontawesome.io/get-started/ + :target: http://fontawesome.io/ Install ======= From 33344f537cad33eef87958a50dcb8ace49c94eea Mon Sep 17 00:00:00 2001 From: Peter Bittner Date: Tue, 7 Feb 2017 22:12:53 +0100 Subject: [PATCH 3/3] Add a space between "Font" and "Awesome" in badge (README) --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 7a0ab5a..f0d1175 100644 --- a/README.rst +++ b/README.rst @@ -17,7 +17,7 @@ Also ships the latest jQuery compatible with Bootstrap, for optional inclusion. .. |jquery| image:: https://img.shields.io/badge/jQuery-v3.1.1-0769ad.svg :alt: jQuery 3.1.1 :target: http://jquery.com/ -.. |fontawesome| image:: https://img.shields.io/badge/FontAwesome-v4.7.0-1c9a71.svg +.. |fontawesome| image:: https://img.shields.io/badge/Font_Awesome-v4.7.0-1c9a71.svg :alt: Font Awesome 4.7.0 :target: http://fontawesome.io/