Skip to content

Commit fae1896

Browse files
authored
Switch to readthedocs (python-telegram-bot#443)
* replace pythonhosted by readthedocs * fix rtd links in examples/README
1 parent 2518dda commit fae1896

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ We have made you a wrapper you can't refuse
1616
:alt: Supported python versions
1717

1818
.. image:: https://img.shields.io/badge/docs-latest-af1a97.svg
19-
:target: https://pythonhosted.org/python-telegram-bot/
19+
:target: https://python-telegram-bot.readthedocs.io/
2020
:alt: Documentation Status
2121

2222
.. image:: https://img.shields.io/pypi/l/python-telegram-bot.svg
@@ -37,7 +37,7 @@ We have made you a wrapper you can't refuse
3737

3838
.. image:: http://isitmaintained.com/badge/resolution/python-telegram-bot/python-telegram-bot.svg
3939
:target: http://isitmaintained.com/project/python-telegram-bot/python-telegram-bot
40-
:alt: Average time to resolve an issue
40+
:alt: Median time to resolve an issue
4141

4242
.. image:: https://img.shields.io/badge/Telegram-Group-blue.svg
4343
:target: https://telegram.me/pythontelegrambotgroup
@@ -116,7 +116,7 @@ Our Wiki contains a lot of resources to get you started with ``python-telegram-b
116116
Other references:
117117

118118
- `Telegram API documentation <https://core.telegram.org/bots/api>`_
119-
- `python-telegram-bot documentation <https://pythonhosted.org/python-telegram-bot/>`_
119+
- `python-telegram-bot documentation <https://python-telegram-bot.readthedocs.io/>`_
120120

121121
-------------------
122122
Learning by example
@@ -162,7 +162,7 @@ If you want DEBUG logs instead:
162162
Documentation
163163
=============
164164

165-
``python-telegram-bot``'s documentation lives at `pythonhosted.org <https://pythonhosted.org/python-telegram-bot/>`_.
165+
``python-telegram-bot``'s documentation lives at `readthedocs.io <https://python-telegram-bot.readthedocs.io/>`_.
166166

167167
============
168168
Getting help

examples/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ All examples are licensed under the [CC0 License](https://github.com/python-tele
88
This is probably the base for most of the bots made with `python-telegram-bot`. It simply replies to each text message with a message that contains the same text.
99

1010
### [`timerbot.py`](https://github.com/python-telegram-bot/python-telegram-bot/blob/master/examples/timerbot.py)
11-
This bot uses the [`JobQueue`](https://pythonhosted.org/python-telegram-bot/telegram.ext.jobqueue.html) class to send timed messages. The user sets a timer by using `/set` command with a specific time, for example `/set 30`. The bot then sets up a job to send a message to that user after 30 seconds. The user can also cancel the timer by sending `/unset`. To learn more about the `JobQueue`, read [this wiki article](https://github.com/python-telegram-bot/python-telegram-bot/wiki/Extensions-%E2%80%93-JobQueue).
11+
This bot uses the [`JobQueue`](https://python-telegram-bot.readthedocs.io/en/latest/telegram.ext.jobqueue.html) class to send timed messages. The user sets a timer by using `/set` command with a specific time, for example `/set 30`. The bot then sets up a job to send a message to that user after 30 seconds. The user can also cancel the timer by sending `/unset`. To learn more about the `JobQueue`, read [this wiki article](https://github.com/python-telegram-bot/python-telegram-bot/wiki/Extensions-%E2%80%93-JobQueue).
1212

1313
### [`conversationbot.py`](https://github.com/python-telegram-bot/python-telegram-bot/blob/master/examples/conversationbot.py)
14-
A common task for a bot is to ask information from the user. In v5.0 of this library, we introduced the [`ConversationHandler`](https://pythonhosted.org/python-telegram-bot/telegram.ext.conversationhandler.html) for that exact purpose. This example uses it to retrieve user-information in a conversation-like style.
14+
A common task for a bot is to ask information from the user. In v5.0 of this library, we introduced the [`ConversationHandler`](https://python-telegram-bot.readthedocs.io/en/latest/telegram.ext.conversationhandler.html) for that exact purpose. This example uses it to retrieve user-information in a conversation-like style.
1515

1616
### [`inlinekeyboard.py`](https://github.com/python-telegram-bot/python-telegram-bot/blob/master/examples/inlinekeyboard.py)
1717
This example sheds some light on inline keyboards, callback queries and message editing.

0 commit comments

Comments
 (0)