From bb9bc1f4d42eb45f393b0ae808b08870578f497d Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Thu, 5 Dec 2019 11:10:10 -0800 Subject: [PATCH] Fixes #1839 : Badge improvements in README.md Use "mockito", not "mockito-development" in the Bintray badge, so that it shous the correct version. Use shields.io badge for Bintray, as the Bintray hosted badge shows "Download" and cannot be made to show "Bintray". Split an excessively long line for the first row of badges. Update the alt text for "Release Notes". Non-graphical users would only see a link to the release notes. "Javadoc" was misspelled as "Javadocs". Use HTTPS for all links. Use direct links to the package on Maven Central and Bintray. Use the default color for Javadoc, red looks as an error. --- README.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 8d03229ad3..c3d5b4064b 100644 --- a/README.md +++ b/README.md @@ -6,12 +6,14 @@ Most popular mocking framework for Java -[![Build Status](https://travis-ci.org/mockito/mockito.svg?branch=release/3.x)](https://travis-ci.org/mockito/mockito) [![Coverage Status](https://img.shields.io/codecov/c/github/mockito/mockito.svg)](https://codecov.io/github/mockito/mockito) [![MIT License](http://img.shields.io/badge/license-MIT-green.svg) ](https://github.com/mockito/mockito/blob/release/3.x/LICENSE) - -[![latest release](https://img.shields.io/badge/release%20notes-3.x-yellow.svg)](https://github.com/mockito/mockito/blob/release/3.x/doc/release-notes/official.md) -[![Maven Central](https://img.shields.io/maven-central/v/org.mockito/mockito-core.svg)](http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.mockito%22%20AND%20a%3A%22mockito-core%22) -[![Bintray](https://api.bintray.com/packages/mockito/maven/mockito-development/images/download.svg)](https://bintray.com/mockito/maven) -[![Javadocs](http://www.javadoc.io/badge/org.mockito/mockito-core.svg?color=red)](http://www.javadoc.io/doc/org.mockito/mockito-core) +[![Build Status](https://travis-ci.org/mockito/mockito.svg?branch=release/3.x)](https://travis-ci.org/mockito/mockito) +[![Coverage Status](https://img.shields.io/codecov/c/github/mockito/mockito.svg)](https://codecov.io/github/mockito/mockito) +[![MIT License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/mockito/mockito/blob/release/3.x/LICENSE) + +[![Release Notes](https://img.shields.io/badge/release%20notes-3.x-yellow.svg)](https://github.com/mockito/mockito/blob/release/3.x/doc/release-notes/official.md) +[![Maven Central](https://img.shields.io/maven-central/v/org.mockito/mockito-core.svg)](https://search.maven.org/artifact/org.mockito/mockito-core/) +[![Bintray](https://img.shields.io/bintray/v/mockito/maven/mockito)](https://bintray.com/mockito/maven/mockito/_latestVersion) +[![Javadoc](https://www.javadoc.io/badge/org.mockito/mockito-core.svg)](https://www.javadoc.io/doc/org.mockito/mockito-core) ## Current version is 3.x