From 5ee93b760aa27f491886c89972593c4646b34893 Mon Sep 17 00:00:00 2001 From: Mads Marquart Date: Wed, 28 Aug 2019 21:24:09 +0200 Subject: [PATCH] Update badges - Update version numbers - Use badgen.net instead of shields.io - Remove badges from the docs (they're only present in the README) --- README.rst | 16 ++++++++++------ docs/_static/license.svg | 1 - docs/_static/python-versions.svg | 1 - docs/index.rst | 12 ------------ 4 files changed, 10 insertions(+), 20 deletions(-) delete mode 100644 docs/_static/license.svg delete mode 100644 docs/_static/python-versions.svg diff --git a/README.rst b/README.rst index a857438..eb3cc5f 100644 --- a/README.rst +++ b/README.rst @@ -1,23 +1,27 @@ ``fbchat``: Facebook Chat (Messenger) for Python ================================================ -.. image:: https://img.shields.io/badge/license-BSD-blue.svg +.. image:: https://badgen.net/pypi/license/fbchat :target: https://github.com/carpedm20/fbchat/tree/master/LICENSE :alt: License: BSD 3-Clause -.. image:: https://img.shields.io/badge/python-2.7%2C%203.4%2C%203.5%2C%203.6%203.7%20pypy-blue.svg +.. image:: https://badgen.net/badge/python/3.5,3.6,3.7,3.8,pypy?list=| :target: https://pypi.python.org/pypi/fbchat - :alt: Supported python versions: 2.7, 3.4, 3.5, 3.6, 3.7 and pypy + :alt: Supported python versions: 3.5, 3.6, 3.7, 3.8 and pypy -.. image:: https://readthedocs.org/projects/fbchat/badge/?version=latest +.. image:: https://badgen.net/pypi/v/fbchat + :target: https://pypi.python.org/pypi/fbchat + :alt: Project version + +.. image:: https://readthedocs.org/projects/fbchat/badge/?version=stable :target: https://fbchat.readthedocs.io :alt: Documentation -.. image:: https://travis-ci.org/carpedm20/fbchat.svg?branch=master +.. image:: https://badgen.net/travis/carpedm20/fbchat :target: https://travis-ci.org/carpedm20/fbchat :alt: Travis CI -.. image:: https://img.shields.io/badge/code%20style-black-000000.svg +.. image:: https://badgen.net/badge/code%20style/black/black :target: https://github.com/ambv/black :alt: Code style diff --git a/docs/_static/license.svg b/docs/_static/license.svg deleted file mode 100644 index 900d32c..0000000 --- a/docs/_static/license.svg +++ /dev/null @@ -1 +0,0 @@ -licenselicenseBSDBSD \ No newline at end of file diff --git a/docs/_static/python-versions.svg b/docs/_static/python-versions.svg deleted file mode 100644 index f3f3bd4..0000000 --- a/docs/_static/python-versions.svg +++ /dev/null @@ -1 +0,0 @@ -pythonpython2.7, 3.4, 3.5, 3.62.7, 3.4, 3.5, 3.6 \ No newline at end of file diff --git a/docs/index.rst b/docs/index.rst index b58df24..e5be90b 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -11,18 +11,6 @@ Release v\ |version|. (:ref:`install`) -.. generated with: https://img.shields.io/badge/license-BSD-blue.svg - -.. image:: /_static/license.svg - :target: https://github.com/carpedm20/fbchat/blob/master/LICENSE.txt - :alt: License: BSD - -.. generated with: https://img.shields.io/badge/python-2.7%2C%203.4%2C%203.5%2C%203.6-blue.svg - -.. image:: /_static/python-versions.svg - :target: https://pypi.python.org/pypi/fbchat - :alt: Supported python versions: 2.7, 3.4, 3.5 and 3.6 - Facebook Chat (`Messenger `_) for Python. This project was inspired by `facebook-chat-api `_.