Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Louis
pypimonitor
Commits
bc324274
Commit
bc324274
authored
Apr 28, 2016
by
Louis
Browse files
[doc] Change doc url from readthedocs.org to readthedocs.io
parent
4a27c719
Changes
3
Hide whitespace changes
Inline
Side-by-side
README.rst
View file @
bc324274
...
...
@@ -3,7 +3,7 @@ PypiMonitor — Monitor your pypi packages
|sources| |pypi| |documentation| |license|
TODO Link to documentation `documentation <https://pypimonitor.readthedocs.o
rg
/en/latest>`__.
TODO Link to documentation `documentation <https://pypimonitor.readthedocs.
i
o/en/latest>`__.
TODO Screenshot
...
...
@@ -38,15 +38,15 @@ Documentation
-------------
* The compiled documentation is available on `readthedocs
<http://pypimonitor.readthedocs.o
rg
>`_
<http://pypimonitor.readthedocs.
i
o>`_
* To compile it from source, download and run::
cd doc && make html
.. |documentation| image:: http://readthedocs.o
rg
/projects/pypimonitor/badge
:target: http://pypimonitor.readthedocs.o
rg
.. |documentation| image:: http://readthedocs.
i
o/projects/pypimonitor/badge
:target: http://pypimonitor.readthedocs.
i
o
.. |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
...
...
pypistats/__init__.py
View file @
bc324274
...
...
@@ -93,7 +93,7 @@ def DateTime2datetime(date):
class
Package
:
docs_api
=
{
'readthedocs'
:
slumber
.
API
(
base_url
=
"http://readthedocs.o
rg
/api/v1/"
),
'readthedocs'
:
slumber
.
API
(
base_url
=
"http://readthedocs.
i
o/api/v1/"
),
}
def
__init__
(
self
,
name
):
...
...
pypistats/data/templates/badges/docs.html
View file @
bc324274
...
...
@@ -6,8 +6,8 @@
{% if type is none %}
<!-- No documentation found for '{{ package.data.name }}'. -->
{% elif type == "readthedocs" %}
<a
href=
"//{{ package.name }}.readthedocs.o
rg
"
>
<img
src=
"//readthedocs.o
rg
/projects/{{ package.name.lower() }}/badge"
alt=
"Documentation"
>
<a
href=
"//{{ package.name }}.readthedocs.
i
o"
>
<img
src=
"//readthedocs.
i
o/projects/{{ package.name.lower() }}/badge"
alt=
"Documentation"
>
</a>
{% else %}
<a
href=
"{{ package.data.docs_url }}"
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment