From fae1896232c4648cd813175d7017e20619a745bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jannes=20H=C3=B6ke?= Date: Wed, 19 Oct 2016 18:00:33 +0200 Subject: [PATCH] Switch to readthedocs (#443) * replace pythonhosted by readthedocs * fix rtd links in examples/README --- README.rst | 8 ++++---- examples/README.md | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.rst b/README.rst index 0725a9430..5230c31ea 100644 --- a/README.rst +++ b/README.rst @@ -16,7 +16,7 @@ We have made you a wrapper you can't refuse :alt: Supported python versions .. image:: https://img.shields.io/badge/docs-latest-af1a97.svg - :target: https://pythonhosted.org/python-telegram-bot/ + :target: https://python-telegram-bot.readthedocs.io/ :alt: Documentation Status .. 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 .. image:: http://isitmaintained.com/badge/resolution/python-telegram-bot/python-telegram-bot.svg :target: http://isitmaintained.com/project/python-telegram-bot/python-telegram-bot - :alt: Average time to resolve an issue + :alt: Median time to resolve an issue .. image:: https://img.shields.io/badge/Telegram-Group-blue.svg :target: https://telegram.me/pythontelegrambotgroup @@ -116,7 +116,7 @@ Our Wiki contains a lot of resources to get you started with ``python-telegram-b Other references: - `Telegram API documentation `_ -- `python-telegram-bot documentation `_ +- `python-telegram-bot documentation `_ ------------------- Learning by example @@ -162,7 +162,7 @@ If you want DEBUG logs instead: Documentation ============= -``python-telegram-bot``'s documentation lives at `pythonhosted.org `_. +``python-telegram-bot``'s documentation lives at `readthedocs.io `_. ============ Getting help diff --git a/examples/README.md b/examples/README.md index 13788f0d2..6681a72d8 100644 --- a/examples/README.md +++ b/examples/README.md @@ -8,10 +8,10 @@ All examples are licensed under the [CC0 License](https://github.com/python-tele 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. ### [`timerbot.py`](https://github.com/python-telegram-bot/python-telegram-bot/blob/master/examples/timerbot.py) -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). +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). ### [`conversationbot.py`](https://github.com/python-telegram-bot/python-telegram-bot/blob/master/examples/conversationbot.py) -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. +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. ### [`inlinekeyboard.py`](https://github.com/python-telegram-bot/python-telegram-bot/blob/master/examples/inlinekeyboard.py) This example sheds some light on inline keyboards, callback queries and message editing.