From 3652ecd9e0a3aa6595a559e2a231b11ead8a156c Mon Sep 17 00:00:00 2001 From: Akinola Abiodun Emmanuel Date: Sat, 7 Oct 2023 00:37:42 +0100 Subject: [PATCH 1/5] Update index.rst (#5291) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- docs/index.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/index.rst b/docs/index.rst index c447bb05..0c94e4af 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -6,7 +6,11 @@ Welcome to Flask .. image:: _static/flask-horizontal.png :align: center -Welcome to Flask's documentation. Get started with :doc:`installation` +Welcome to Flask's documentation. Flask is a lightweight WSGI web application framework. +It is designed to make getting started quick and easy, with the ability to scale up to +complex applications. + +Get started with :doc:`installation` and then get an overview with the :doc:`quickstart`. There is also a more detailed :doc:`tutorial/index` that shows how to create a small but complete application with Flask. Common patterns are described in the From 541bc8dfc2263cfa1ab2f209ce6132e1835cac9b Mon Sep 17 00:00:00 2001 From: Iztok Fister Jr Date: Sat, 7 Oct 2023 00:36:39 +0000 Subject: [PATCH 2/5] examples/javascript: replace obsolete link (#5287) --- examples/javascript/README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/javascript/README.rst b/examples/javascript/README.rst index 697bb217..f5f66912 100644 --- a/examples/javascript/README.rst +++ b/examples/javascript/README.rst @@ -15,7 +15,7 @@ page. Demonstrates using |fetch|_, |XMLHttpRequest|_, and .. |jQuery.ajax| replace:: ``jQuery.ajax`` .. _jQuery.ajax: https://api.jquery.com/jQuery.ajax/ -.. _Flask docs: https://flask.palletsprojects.com/patterns/jquery/ +.. _Flask docs: https://flask.palletsprojects.com/patterns/javascript/ Install From bb9937593de3917d17c2da1fc55489f10bb3c8b2 Mon Sep 17 00:00:00 2001 From: Arnout Engelen Date: Fri, 20 Oct 2023 17:17:24 +0200 Subject: [PATCH 3/5] docs/testing.rst: fix follow_redirects sample code --- docs/testing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/testing.rst b/docs/testing.rst index 8545bd39..b1d52f9a 100644 --- a/docs/testing.rst +++ b/docs/testing.rst @@ -192,7 +192,7 @@ which records the request that produced that response. .. code-block:: python def test_logout_redirect(client): - response = client.get("/logout") + response = client.get("/logout", follow_redirects=True) # Check that there was one redirect response. assert len(response.history) == 1 # Check that the second request was to the index page. From be6ec06894b55b1b5a360ce3f8178c7963332ccd Mon Sep 17 00:00:00 2001 From: Resistor-git <57943791+Resistor-git@users.noreply.github.com> Date: Sat, 28 Oct 2023 07:38:33 +0000 Subject: [PATCH 4/5] Fix link to Hypercorn in docs/deploying/asgi.rst - they moved from gitlab from github. --- docs/deploying/asgi.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/deploying/asgi.rst b/docs/deploying/asgi.rst index 36acff8a..1dc0aa24 100644 --- a/docs/deploying/asgi.rst +++ b/docs/deploying/asgi.rst @@ -20,7 +20,7 @@ wrapping the Flask app, asgi_app = WsgiToAsgi(app) and then serving the ``asgi_app`` with the ASGI server, e.g. using -`Hypercorn `_, +`Hypercorn `_, .. sourcecode:: text From 7af0271f4703a71beef8e26d1f5f6f8da04100e6 Mon Sep 17 00:00:00 2001 From: Resistor-git <57943791+Resistor-git@users.noreply.github.com> Date: Sat, 28 Oct 2023 08:04:03 +0000 Subject: [PATCH 5/5] Initial commit