diff options
| author | igo95862 <igo95862@yandex.ru> | 2021-05-16 16:28:43 +0300 |
|---|---|---|
| committer | igo95862 <igo95862@yandex.ru> | 2021-05-17 20:39:13 +0300 |
| commit | bb173a57899d08075c3762febc223ba54218a57d (patch) | |
| tree | 36f001a0c3ad5d1ba91b728441689182c5fa6aee | |
| parent | cfa449624d893b2a6577a09d9fdefdc878b63bb6 (diff) | |
| download | sphinx-git-bb173a57899d08075c3762febc223ba54218a57d.tar.gz | |
doc: Moved flask links to new home and HTTPS
Seems like Flask is no longer pocoo project but
palletsprojects.com
| -rw-r--r-- | doc/usage/advanced/websupport/quickstart.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/usage/advanced/websupport/quickstart.rst b/doc/usage/advanced/websupport/quickstart.rst index 720e02e2a..1c7e7cd35 100644 --- a/doc/usage/advanced/websupport/quickstart.rst +++ b/doc/usage/advanced/websupport/quickstart.rst @@ -112,7 +112,7 @@ must update the websupport package's data:: should be a boolean representing whether the user has moderation privileges. The default value for *moderator* is ``False``. -An example `Flask <http://flask.pocoo.org/>`_ function that checks whether a +An example `Flask <https://flask.palletsprojects.com/>`_ function that checks whether a user is logged in and then retrieves a document is:: from sphinxcontrib.websupport.errors import * @@ -152,7 +152,7 @@ To use the search form built-in to the Sphinx sidebar, create a function to handle requests to the URL 'search' relative to the documentation root. The user's search query will be in the GET parameters, with the key `q`. Then use the :meth:`~sphinxcontrib.websupport.WebSupport.get_search_results` method to -retrieve search results. In `Flask <http://flask.pocoo.org/>`_ that would be +retrieve search results. In `Flask <https://flask.palletsprojects.com/>`_ that would be like this:: @app.route('/search') |
