Commit bc324274 authored by Louis's avatar Louis
Browse files

[doc] Change doc url from readthedocs.org to readthedocs.io

parent 4a27c719
......@@ -3,7 +3,7 @@ PypiMonitor — Monitor your pypi packages
|sources| |pypi| |documentation| |license|
TODO Link to documentation `documentation <https://pypimonitor.readthedocs.org/en/latest>`__.
TODO Link to documentation `documentation <https://pypimonitor.readthedocs.io/en/latest>`__.
TODO Screenshot
......@@ -38,15 +38,15 @@ Documentation
-------------
* The compiled documentation is available on `readthedocs
<http://pypimonitor.readthedocs.org>`_
<http://pypimonitor.readthedocs.io>`_
* To compile it from source, download and run::
cd doc && make html
.. |documentation| image:: http://readthedocs.org/projects/pypimonitor/badge
:target: http://pypimonitor.readthedocs.org
.. |documentation| image:: http://readthedocs.io/projects/pypimonitor/badge
:target: http://pypimonitor.readthedocs.io
.. |pypi| image:: https://img.shields.io/pypi/v/pypimonitor.svg
:target: http://pypi.python.org/pypi/pypimonitor
.. |license| image:: https://img.shields.io/pypi/l/pypimonitor.svg
......
......@@ -93,7 +93,7 @@ def DateTime2datetime(date):
class Package:
docs_api = {
'readthedocs': slumber.API(base_url="http://readthedocs.org/api/v1/"),
'readthedocs': slumber.API(base_url="http://readthedocs.io/api/v1/"),
}
def __init__(self, name):
......
......@@ -6,8 +6,8 @@
{% if type is none %}
<!-- No documentation found for '{{ package.data.name }}'. -->
{% elif type == "readthedocs" %}
<a href="//{{ package.name }}.readthedocs.org">
<img src="//readthedocs.org/projects/{{ package.name.lower() }}/badge" alt="Documentation">
<a href="//{{ package.name }}.readthedocs.io">
<img src="//readthedocs.io/projects/{{ package.name.lower() }}/badge" alt="Documentation">
</a>
{% else %}
<a href="{{ package.data.docs_url }}">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment