update documetation links to rtd; #20

This commit is contained in:
Rossen Georgiev 2016-08-16 22:33:58 +01:00
parent 5563a6d8c7
commit 0017a7cc11
2 changed files with 10 additions and 4 deletions

View File

@ -1,13 +1,13 @@
APRS library for Python APRS library for Python
~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~
|pypi| |coverage| |scru| |master_build| |pypi| |coverage| |scru| |master_build| |docs|
A python library for dealing with APRS. A python library for dealing with APRS.
It can be used to interact with APRS-IS servers, sending and receiving. It can be used to interact with APRS-IS servers, sending and receiving.
Parsing functionally is also included, but currently doesn't implement the full spec. Parsing functionally is also included, but currently doesn't implement the full spec.
See `full documentation <http://rgp.io/aprs-python/>`_. See `the documentation <http://aprs-python.readthedocs.io/en/latest/>`_.
Installation Installation
============ ============
@ -16,7 +16,7 @@ To install the latest release from ``pypi``::
pip install aprslib pip install aprslib
To install the latest dev version from the `Github repo <https://github.com/rossengeorgiev/aprs-python://github.com/rossengeorgiev/aprs-python/>`_:: To install the latest dev version from the `Github repo <https://github.com/rossengeorgiev/aprs-python/>`_::
pip install git+https://github.com/rossengeorgiev/aprs-python pip install git+https://github.com/rossengeorgiev/aprs-python
@ -44,3 +44,6 @@ Contribution
:target: http://travis-ci.org/rossengeorgiev/aprs-python :target: http://travis-ci.org/rossengeorgiev/aprs-python
:alt: Build status of master branch :alt: Build status of master branch
.. |docs| image:: https://readthedocs.org/projects/aprs-python/badge/?version=latest
:target: http://aprs-python.readthedocs.io/en/latest/?badge=latest
:alt: Documentation status

View File

@ -8,7 +8,10 @@ from aprslib import __version__ as lib_version
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('?badge=latest', '?badge=stable')\
.replace('projects/aprs-python/badge/?version=latest', 'projects/aprs-python/badge/?version=stable')
setup( setup(
name='aprslib', name='aprslib',