Readme point to 'master' version of docs

This commit is contained in:
medmunds
2013-03-05 16:03:17 -08:00
parent adb3ace00c
commit 63b5db7b9a
2 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ def long_description_from_readme(rst):
# In release branches, freeze some external links to refer to this X.Y version:
if not "dev" in __version__:
rst = re.sub(r'branch=master', 'branch=v' + __minor_version__, rst) # Travis build status
rst = re.sub(r'/latest', '/v' + __minor_version__, rst) # ReadTheDocs
rst = re.sub(r'/master', '/v' + __minor_version__, rst) # ReadTheDocs
return rst
with open('README.rst') as f: