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

@@ -39,7 +39,7 @@ Djrill is released under the BSD license. It is tested against Django 1.3, 1.4,
**Resources**
* Full documentation: https://djrill.readthedocs.org/en/latest/
* Full documentation: https://djrill.readthedocs.org/en/master/
* Package on PyPI: https://pypi.python.org/pypi/djrill
* Project on Github: https://github.com/brack3t/Djrill
@@ -109,5 +109,5 @@ Djrill 1-2-3
.. END quickstart
See the `full documentation <https://djrill.readthedocs.org/en/latest/>`_
See the `full documentation <https://djrill.readthedocs.org/en/master/>`_
for more features and options.

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: