From 01bb0cacdd6a0d66e4f13a69efe6a30562cef21f Mon Sep 17 00:00:00 2001 From: Rebecca Breu Date: Sat, 3 Apr 2021 20:20:22 +0200 Subject: [PATCH] Move badges up in README --- CONTRIBUTING.rst | 4 ++++ README.rst | 3 +-- images/python_version_badge.svg | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 7b74d58..b3d0065 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -33,3 +33,7 @@ Beeref files are sqlite databases, so they can be inspected with any sqlite brow For debugging options, run:: beeref --help + +The Python version badge in the README is generated with pybadges:: + + python -m pybadges --left-text=Python --right-text="3.6 | 3.7 | 3.8 | 3.9" > images/python_version_badge.svg diff --git a/README.rst b/README.rst index 5b65dad..5784bbd 100644 --- a/README.rst +++ b/README.rst @@ -3,10 +3,9 @@ BeeRef — A Simple Reference Image Viewer View your references while you art! -.. image:: https://github.com/rbreu/beeref/blob/main/images/screenshot.jpg - |python-version| |github-ci-flake8| |github-ci-pytest| |codecov| +.. image:: https://github.com/rbreu/beeref/blob/main/images/screenshot.jpg .. |python-version| image:: https://github.com/rbreu/beeref/blob/main/images/python_version_badge.svg diff --git a/images/python_version_badge.svg b/images/python_version_badge.svg index 551ae04..703ab8f 100644 --- a/images/python_version_badge.svg +++ b/images/python_version_badge.svg @@ -1 +1 @@ -PythonPython3.6 | 3.7 | 3.8 | 3.93.6 | 3.7 | 3.8 | 3.9 \ No newline at end of file +PythonPython3.6 | 3.7 | 3.8 | 3.93.6 | 3.7 | 3.8 | 3.9 \ No newline at end of file