aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2019-12-28 15:55:56 +0100
committerFelix Morgner <felix.morgner@gmail.com>2019-12-28 15:55:56 +0100
commitb8c9337cfa57da8f281ced9d07e9f79335cbe5ee (patch)
tree5bb70c9e20b2b85f6ca3ae281e82ef2fc7ba3eff
parentf5dd11b458ee4dc8eba3cc592cb4357bda3413a5 (diff)
downloadnewtype-b8c9337cfa57da8f281ced9d07e9f79335cbe5ee.tar.xz
newtype-b8c9337cfa57da8f281ced9d07e9f79335cbe5ee.zip
doc: fix badge formatting
-rw-r--r--README.rst28
1 files changed, 16 insertions, 12 deletions
diff --git a/README.rst b/README.rst
index b769108..54364d0 100644
--- a/README.rst
+++ b/README.rst
@@ -4,21 +4,25 @@ newtype
The `newtype` library provides types and functions to facilitate the creation of strong type aliases.
-.. image:: https://img.shields.io/badge/c%2B%2B-20-orange
+|c++20| |license| |docs| |btc|
-.. image:: https://img.shields.io/github/license/fmorgner/newtype
+Usage
+=====
+
+Please `Read the Docs <https://newtype.rtfd.io>`_ for an introduction to the library.
+
+.. |c++20| image:: https://img.shields.io/badge/c%2B%2B-20-orange
+ :alt: C++20
+ :target: https://en.wikipedia.org/wiki/C%2B%2B20
+
+.. |license| image:: https://img.shields.io/github/license/fmorgner/newtype
:alt: GitHub license
:target: https://github.com/fmorgner/newtype/blob/master/LICENSE
-
-.. image:: https://readthedocs.org/projects/newtype/badge/?version=latest
+
+.. |docs| image:: https://readthedocs.org/projects/newtype/badge/?version=latest
:target: https://newtype.readthedocs.io/?badge=latest
:alt: Documentation Status
-
-.. image:: https://img.shields.io/badge/Support-BTC-yellow
+
+.. |btc| image:: https://img.shields.io/badge/Support-BTC-yellow
:alt: Support the project with Bitcoin
- :target: bitcoin:14NhzUxmcXaXwLQQcj5UhDvSuxA6hmGkkg?label=Donation%20to%20%27fmorgner%2Fnew_type%27&message=Thanks%20for%20your%20work%20on%20%27fmorgner%2Fnewtype%27
-
-Usage
-=====
-
-Please `Read the Docs <https://newtype.rtfd.io>`_ for an introduction to the library. \ No newline at end of file
+ :target: bitcoin:14NhzUxmcXaXwLQQcj5UhDvSuxA6hmGkkg?label=Donation%20to%20%27fmorgner%2Fnew_type%27&message=Thanks%20for%20your%20work%20on%20%27fmorgner%2Fnewtype%27 \ No newline at end of file