From a62ddf8265e1d2562db92ecbcbc2a165546c27d8 Mon Sep 17 00:00:00 2001 From: Roman Mogilatov Date: Wed, 19 Oct 2016 14:58:11 +0300 Subject: [PATCH] Add github badges to readme and docs index page --- README.rst | 54 ++++++++++++++++++++++++----------------- docs/index.rst | 10 ++++++++ docs/main/changelog.rst | 3 ++- 3 files changed, 44 insertions(+), 23 deletions(-) diff --git a/README.rst b/README.rst index b079095f..dda0fb05 100644 --- a/README.rst +++ b/README.rst @@ -19,28 +19,38 @@ dependency injection pattern in formal, pretty, Pythonic way. Status ------ -+---------------------------------------+----------------------------------------------------------------------------------------+ -| *PyPi* | .. image:: https://img.shields.io/pypi/v/dependency_injector.svg | -| | :target: https://pypi.python.org/pypi/dependency_injector/ | -| | :alt: Latest Version | -| | .. image:: https://img.shields.io/pypi/l/dependency_injector.svg | -| | :target: https://pypi.python.org/pypi/dependency_injector/ | -| | :alt: License | -+---------------------------------------+----------------------------------------------------------------------------------------+ -| *Python versions and implementations* | .. image:: https://img.shields.io/pypi/pyversions/dependency_injector.svg | -| | :target: https://pypi.python.org/pypi/dependency_injector/ | -| | :alt: Supported Python versions | -| | .. image:: https://img.shields.io/pypi/implementation/dependency_injector.svg | -| | :target: https://pypi.python.org/pypi/dependency_injector/ | -| | :alt: Supported Python implementations | -+---------------------------------------+----------------------------------------------------------------------------------------+ -| *Builds and tests coverage* | .. image:: https://travis-ci.org/ets-labs/python-dependency-injector.svg?branch=master | -| | :target: https://travis-ci.org/ets-labs/python-dependency-injector | -| | :alt: Build Status | -| | .. image:: https://coveralls.io/repos/ets-labs/python-dependency-injector/badge.svg | -| | :target: https://coveralls.io/r/ets-labs/python-dependency-injector | -| | :alt: Coverage Status | -+---------------------------------------+----------------------------------------------------------------------------------------+ ++---------------------------------------+--------------------------------------------------------------------------------------------------------------------+ +| *PyPi* | .. image:: https://img.shields.io/pypi/v/dependency_injector.svg | +| | :target: https://pypi.python.org/pypi/dependency_injector/ | +| | :alt: Latest Version | +| | .. image:: https://img.shields.io/pypi/l/dependency_injector.svg | +| | :target: https://pypi.python.org/pypi/dependency_injector/ | +| | :alt: License | ++---------------------------------------+--------------------------------------------------------------------------------------------------------------------+ +| *Python versions and implementations* | .. image:: https://img.shields.io/pypi/pyversions/dependency_injector.svg | +| | :target: https://pypi.python.org/pypi/dependency_injector/ | +| | :alt: Supported Python versions | +| | .. image:: https://img.shields.io/pypi/implementation/dependency_injector.svg | +| | :target: https://pypi.python.org/pypi/dependency_injector/ | +| | :alt: Supported Python implementations | ++---------------------------------------+--------------------------------------------------------------------------------------------------------------------+ +| *Builds and tests coverage* | .. image:: https://travis-ci.org/ets-labs/python-dependency-injector.svg?branch=master | +| | :target: https://travis-ci.org/ets-labs/python-dependency-injector | +| | :alt: Build Status | +| | .. image:: https://coveralls.io/repos/ets-labs/python-dependency-injector/badge.svg | +| | :target: https://coveralls.io/r/ets-labs/python-dependency-injector | +| | :alt: Coverage Status | ++---------------------------------------+--------------------------------------------------------------------------------------------------------------------+ +| *Github* | .. image:: https://img.shields.io/github/watchers/ets-labs/python-dependency-injector.svg?style=social&label=Watch | +| | :target: https://github.com/ets-labs/python-dependency-injector | +| | :alt: Github watchers | +| | .. image:: https://img.shields.io/github/stars/ets-labs/python-dependency-injector.svg?style=social&label=Star | +| | :target: https://github.com/ets-labs/python-dependency-injector | +| | :alt: Github stargazers | +| | .. image:: https://img.shields.io/github/forks/ets-labs/python-dependency-injector.svg?style=social&label=Fork | +| | :target: https://github.com/ets-labs/python-dependency-injector | +| | :alt: Github forks | ++---------------------------------------+--------------------------------------------------------------------------------------------------------------------+ Dependency injection -------------------- diff --git a/docs/index.rst b/docs/index.rst index 6f0efc3d..2fe8f750 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -49,6 +49,16 @@ Status | | :target: https://coveralls.io/r/ets-labs/python-dependency-injector | | | :alt: Coverage Status | +---------------------------------------+----------------------------------------------------------------------------------------+ +| *Github* | .. image:: https://img.shields.io/github/watchers/ets-labs/python-dependency-injector.svg?style=social&label=Watch | +| | :target: https://github.com/ets-labs/python-dependency-injector | +| | :alt: Github watchers | +| | .. image:: https://img.shields.io/github/stars/ets-labs/python-dependency-injector.svg?style=social&label=Star | +| | :target: https://github.com/ets-labs/python-dependency-injector | +| | :alt: Github stargazers | +| | .. image:: https://img.shields.io/github/forks/ets-labs/python-dependency-injector.svg?style=social&label=Fork | +| | :target: https://github.com/ets-labs/python-dependency-injector | +| | :alt: Github forks | ++---------------------------------------+--------------------------------------------------------------------------------------------------------------------+ Contents -------- diff --git a/docs/main/changelog.rst b/docs/main/changelog.rst index e5d6a293..92f32d9c 100644 --- a/docs/main/changelog.rst +++ b/docs/main/changelog.rst @@ -9,7 +9,8 @@ follows `Semantic versioning`_ Development version ------------------- -- No features. +.. - No features. +- Add github badges to readme and docs index pages. 2.2.8 -----