Browse Source

fix rtd url in README

pull/41/head
Rossen Georgiev 9 years ago
parent
commit
0694185850
  1. 2
      README.rst
  2. 2
      setup.py

2
README.rst

@ -4,7 +4,7 @@ A python module for interacting with various parts of Steam_.
Supports Python ``2.7+`` and ``3.4+``. Supports Python ``2.7+`` and ``3.4+``.
Documentation: http://steam.readthedocs.io/en/latest Documentation: http://steam.readthedocs.io/en/latest/
Main features Main features
------------- -------------

2
setup.py

@ -8,7 +8,7 @@ import sys
here = path.abspath(path.dirname(__file__)) here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as f: with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()\ long_description = f.read()\
.replace('.io/en/latest', '.io/en/stable')\ .replace('.io/en/latest/', '.io/en/stable/')\
.replace('?badge=latest', '?badge=stable')\ .replace('?badge=latest', '?badge=stable')\
.replace('projects/steam/badge/?version=latest', 'projects/steam/badge/?version=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: with open(path.join(here, 'steam/__init__.py'), encoding='utf-8') as f:

Loading…
Cancel
Save