Commit graph

50 commits

Author SHA1 Message Date
Krishna016
897024bf7d
Update index.rst
1+namber--:c+ / flask :
namber.. rst-class:: hide-header

Welcome to Flask
================

.. image:: _static/flask-horizontal.png
    :align: center

Welcome to Flask's documentation. 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
:doc:`patterns/index` section. The rest of the docs describe each
component of Flask in detail, with a full reference in the :doc:`api`
section.

Flask depends on the `Werkzeug`_ WSGI toolkit, the `Jinja`_ template engine, and the
`Click`_ CLI toolkit. Be sure to check their documentation as well as Flask's when
looking for information.

.. _Werkzeug: https://werkzeug.palletsprojects.com
.. _Jinja: https://jinja.palletsprojects.com
.. _Click: https://click.palletsprojects.com


User's Guide
------------

Flask provides configuration and conventions, with sensible defaults, to get started.
This section of the documentation explains the different parts of the Flask framework
and how they can be used, customized, and extended. Beyond Flask itself, look for
community-maintained extensions to add even more functionality.

.. toctree::
   :maxdepth: 2

   installation
   quickstart
   tutorial/index
   templating
   testing
   errorhandling
   debugging
   logging
   config
2024-05-11 18:53:53 +06:00
David Lord
87d5f5b9a9
update project files (#5457)
* update pre-commit hook
* upgrade pip with venv
* update description and version
* show url in publish environment
* update versions
* update versions, separate typing job
* use dependabot grouped updates
  ignore upload/download-artifact until slsa updates
* use sphinx.ext.extlinks instead of sphinx-issues
* update dev dependencies
* update editorconfig
* update gitignore
* update .readthedocs.yaml
* license is txt, readme is md
* update pyproject.toml
  add typed classifier
  add pyright config
  simplify urls
* tox builds docs in place
* update min test py version
* add tox env to update all dev dependencies
* update issue and pr templates
* rename security docs page to not conflict with org policy file
* simplify matrix
2024-04-07 10:24:40 -07:00
David Lord
83d777bebf
use new logo 2023-04-20 11:38:04 -07:00
David Lord
a6cd8f212e
document the lifecycle of a flask application and request 2023-02-10 14:48:02 -08:00
David Lord
a0458efef6
refactor or remove old docs (#4748) 2022-08-05 11:28:22 -07:00
Luis Palacios
410a324ec4
remove becomingbig.rst 2022-05-10 09:16:44 -07:00
David Lord
dc3e9c0cc3
update async docs 2021-04-06 15:33:06 -07:00
pgjones
6979265fa6
Add async support
This allows for async functions to be passed to the Flask class
instance, for example as a view function,

    @app.route("/")
    async def index():
        return "Async hello"

this comes with a cost though of poorer performance than using the
sync equivalent.

asgiref is the standard way to run async code within a sync context,
and is used in Django making it a safe and sane choice for this.
2021-04-06 09:35:10 -07:00
David Lord
9e7d3a6b69
docs rename changelog to changes 2021-02-24 10:09:38 -08:00
David Lord
89d1487b2e
rewrite debugging docs, move to separate page 2020-07-28 11:20:34 -07:00
David Lord
171aabc87d
remove unused ref directives
replace page refs with doc directives
2020-04-04 12:57:14 -07:00
David Lord
7673835b3d
remove Python 2 from docs 2020-04-04 12:05:44 -07:00
Grey Li
ef434ea998
Replace old pocoo links everywhere
pocco.org -> palletsprojects.com
2019-11-19 09:32:35 -08:00
David Lord
1351d0a565
Merge branch '1.0.x' 2019-06-23 16:57:52 -07:00
David Lord
cb6272ccc8
fix docks linkcheck 2019-06-23 15:37:51 -07:00
David Lord
28b35c55a1
update docs config 2019-06-23 12:27:25 -07:00
David Lord
f7d50d4b67
Merge branch '1.0-maintenance' 2019-01-05 15:12:17 -08:00
David Lord
8b567fea23
fix docs build 2019-01-05 14:59:25 -08:00
David Lord
ba868d681a
update sphinx config 2018-09-17 08:35:28 -07:00
David Lord
0997e7c8d1
fix docs logo 2018-04-26 14:07:19 -07:00
David Lord
987b0098d8
fix docs logo 2018-04-26 13:06:15 -07:00
David Lord
216151c8a3
Merge branch '0.12-maintenance' 2018-04-26 12:18:06 -07:00
David Lord
679bf0014f
use theme provided by pallets-sphinx-themes 2018-04-18 13:06:08 -07:00
David Lord
49a38ed999
use theme provided by pallets-sphinx-themes 2018-04-18 12:05:31 -07:00
David Lord
9bf5c3b3a3
update project metadata
new readme
readme as setup.py long_description
links in changes
git in authors
add travis osx env
break out docs build in travis
remove python_requires for now
2018-02-08 12:43:22 -08:00
Daniel Neuhäuser
20edb3189c Fix Pocoo documentation links 2014-04-26 01:20:12 +02:00
Armin Ronacher
05161d3584 Rewrote tutorial to use the g based appcontext object 2013-09-01 01:32:41 +06:00
Ori Livneh
e5161a773e commas after introductory phrases 2012-01-16 21:25:54 -05:00
Matt Campbell
14fde07798 Copy edited the front page of the documentation. 2010-06-26 18:06:18 +08:00
Matt Campbell
cf29877075 docs/index.rst: Make alt text more informative. 2010-06-26 18:06:17 +08:00
Armin Ronacher
ef0dc1800f Added interactive Python docs, fixed part style. 2010-05-24 18:37:48 +02:00
Armin Ronacher
cbcd15c3b5 Beefed up latex output. Unfortunately parts look ugly. 2010-05-24 08:38:28 +02:00
Armin Ronacher
606b006e23 Fixed at least one build warning by renaming files. 2010-04-25 17:25:16 +02:00
Armin Ronacher
3ac4ec670c Beefed up PDF docs. They actually look like something now. 2010-04-25 17:05:25 +02:00
Armin Ronacher
260b4dfe61 Added changelog, restructured docs a bit. 2010-04-20 20:21:01 +02:00
Armin Ronacher
3a1e518657 Fixed typo and added AUTHORS file and license text to docs. 2010-04-20 13:29:54 +02:00
Armin Ronacher
c64a4e0bef Break up deployment docs into separate documents. 2010-04-19 11:23:44 +02:00
Armin Ronacher
190059c8f0 Added support for macro pulling and documented certain design decisions. 2010-04-18 15:44:06 +02:00
Armin Ronacher
123a1ad019 Breaking docs up into smaller pieces 2010-04-18 13:35:40 +02:00
Armin Ronacher
bcf347fe8d New style for the documentation. Looks more like the website now. 2010-04-18 13:15:00 +02:00
Armin Ronacher
26f86b1d49 Restructured documentation a bit. 2010-04-16 12:21:31 +02:00
Armin Ronacher
1246f4088a First part of the tutorial. Many explanations missing but it's a start. 2010-04-15 02:21:46 +02:00
moraes
51c9829a9c Fixed couple of errors in docs. 2010-04-12 16:18:01 +08:00
Armin Ronacher
03148dba6b Added testing documentation 2010-04-11 19:18:40 +02:00
Armin Ronacher
05f36c7f7e Heavily improved documentation 2010-04-11 02:20:10 +02:00
Armin Ronacher
8e9bd5f009 Fixed a typo 2010-04-10 16:01:14 +02:00
Armin Ronacher
3d719f35f5 Added docs, fixed some bugs I introduced last commit 2010-04-10 15:49:15 +02:00
Armin Ronacher
727c701686 And finished documentation for most parts. 2010-04-09 13:40:05 +02:00
Armin Ronacher
4aa76212d1 Updated documentation. Starting to look pretty good 2010-04-09 01:32:39 +02:00
Armin Ronacher
4ec7d2a0d8 Started working on documentation.
So far just the stable parts :)
2010-04-06 16:02:14 +02:00