From 8554980c867d0edef2712ce095decb3786985874 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=CC=81=20Padilla?= Date: Tue, 23 Jun 2015 06:19:00 -0400 Subject: [PATCH] Add PyPI version badge to docs. Closes #3023 --- docs/index.md | 16 ++++++++++------ docs_theme/css/default.css | 4 ++-- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/docs/index.md b/docs/index.md index a8da1946b..e48b648ed 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,10 +1,16 @@

- + - - + + - + + + + + + +

--- @@ -248,8 +254,6 @@ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -[travis]: http://travis-ci.org/tomchristie/django-rest-framework?branch=master -[travis-build-image]: https://secure.travis-ci.org/tomchristie/django-rest-framework.png?branch=master [mozilla]: http://www.mozilla.org/en-US/about/ [eventbrite]: https://www.eventbrite.co.uk/about/ [markdown]: http://pypi.python.org/pypi/Markdown/ diff --git a/docs_theme/css/default.css b/docs_theme/css/default.css index fdb770071..bcba6b0ee 100644 --- a/docs_theme/css/default.css +++ b/docs_theme/css/default.css @@ -44,8 +44,8 @@ body.index-page #main-content iframe.twitter-share-button { margin-right: 8px; } -/* Travis CI badge */ -body.index-page #main-content img.travis-build-image { +/* Travis CI and PyPI badge */ +body.index-page #main-content img.status-badge { float: right; margin-right: 8px; margin-top: -11px;