From 8fd2ae28e0a6da8bc7aee82d7c77f5a531155e98 Mon Sep 17 00:00:00 2001 From: Rossen Georgiev Date: Mon, 30 May 2016 23:33:25 +0100 Subject: [PATCH] link to latest docs in README [ci skip] --- README.rst | 2 +- setup.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 63f4e85..4b75742 100644 --- a/README.rst +++ b/README.rst @@ -4,7 +4,7 @@ A python module for interacting with various parts of Steam_. Supports Python ``2.7+`` and ``3.4+``. -Documentation: http://steam.readthedocs.io +Documentation: http://steam.readthedocs.io/en/latest Main features ------------- diff --git a/setup.py b/setup.py index fe582dd..0377cc0 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,8 @@ import sys here = path.abspath(path.dirname(__file__)) with open(path.join(here, 'README.rst'), encoding='utf-8') as f: long_description = f.read()\ - .replace('io/en/latest/?badge=latest', 'io/en/stable/?badge=stable')\ + .replace('.io/en/latest', '.io/en/stable')\ + .replace('?badge=latest', '?badge=stable')\ .replace('projects/steam/badge/?version=latest', 'projects/steam/badge/?version=stable') with open(path.join(here, 'steam/__init__.py'), encoding='utf-8') as f: __version__ = f.readline().split('"')[1]