Commit graph

54 commits

Author SHA1 Message Date
David Lord
e01b68e7ee
update patterns, snippets, extensions docs 2019-09-23 08:19:40 -07:00
Grey Li
90004a83be
Update outdated extension doc
Remove links and descriptions relate to abandoned "Flask Extension
Registry" in documentation
2019-07-22 13:23:57 -07:00
David Lord
cb6272ccc8
fix docks linkcheck 2019-06-23 15:37:51 -07:00
A Brooks
4e272fc042
Fix various small spelling errors. 2019-05-16 11:50:10 -07:00
venus
8c979698bd fix the typo 2019-01-12 21:42:06 +09:00
David Lord
49a38ed999
use theme provided by pallets-sphinx-themes 2018-04-18 12:05:31 -07:00
David Lord
4462cc57c8
rewrite extension docs
remove old extension patterns
remove flask.ext from api docs
2018-02-28 07:52:03 -08:00
David Lord
28d0f66c1f
remove tests and docs for python 2.6 and 3.3 2017-12-16 07:00:00 -08:00
Kenneth Reitz
31174fecd2 resolve merge conflicts 2017-05-25 17:21:32 -04:00
Jeff Widman
bb0e755c80 Migrate various docs links to https (#2180)
Also fixed a few outdated links
2017-02-11 10:43:11 +01:00
Adrian Moennich
88111ae6bf Do not suggest deprecated flask.ext.* 2017-01-10 13:12:18 +01:00
Armin Ronacher
f9ea3fe026 1.0 -> 0.11 in the docs 2016-05-26 20:52:17 +02:00
Stefan Wójcik
e45e17c490 fix a grammar mistake (#1798) 2016-05-05 19:27:45 +02:00
Markus Unterwaditzer
d3d8a4694a Deprecate flask.ext
* Add deprecation warning to ext pkg

* Add docs on deprecation of flask.ext

* Improve deprecation warnings

* Add headers for better distinction, fix ordering issue of paragraphs
2016-04-02 21:06:30 +02:00
Jeff Widman
f80ea4fe5d Some grammar and typo fixes 2015-06-06 04:44:41 +02:00
Daniel Neuhäuser
2b58e6120c Fix wording 2015-06-06 04:44:41 +02:00
Daniel Neuhäuser
b9938d0182 Don't allow namespace packages anymore 2015-06-06 04:44:41 +02:00
Daniel Neuhäuser
b12d9762e7 Require Python 3.3 and higher for extensions
Flask and several extensions already supports Python 3.3 and higher. By
requiring approved extensions to support Python 3.3 as well we can
quickly achieve better Python 3 adoption and make using Python 3 easier
for users.

The effort of supporting both Python 2.7 and Python 3.3 is small enough
that it shouldn't be a problem to require this from extension authors.
2015-06-06 04:44:41 +02:00
Daniel Neuhäuser
3185f445c9 Drop Python 2.6 minimum requirement for extensions
Python 2.6 is not supported by python-dev anymore and does not get any
security updates. Even though Flask supports 2.6 at the moment, I think
it's not necessary for any extensions that are going to be approved in
the future to support 2.6.
2015-06-06 04:44:41 +02:00
Daniel Neuhäuser
43d6b8a5fc Drop Extension==dev requirement
pip doesn't install links included in the description of projects
anymore. Therefore ==dev install doesn't work anymore.
2015-06-06 04:44:41 +02:00
Jeff Widman
f05aeea6dd Correct the order of suggested syntax for extension imports
According to https://github.com/mitsuhiko/flask/issues/1092#issuecomment-47118613 and https://github.com/mitsuhiko/flask/pull/1085#issuecomment-45466907 , the correct order to attempt to import extensions should be flask_foo, then flask.ext.foo, then flaskext_foo.
2015-06-06 04:43:22 +02:00
defuz
663802e976 docs: `with, for, self` 2014-11-05 07:39:54 +03:00
defuz
a8f570cc62 docs: :file:app.py, :file:yourapp/templates 2014-11-05 06:45:22 +03:00
Daniel Neuhäuser
e89c867d62 Switch packages.python.org to pythonhosted.org 2014-04-26 01:35:37 +02:00
Thomas Waldmann
40fad2ece8 document python 2.6 minimum requirement, remove all stuff that refers to 2.5 2013-05-18 17:06:25 +02:00
INADA Naoki
be0b5196bf Update docs/extensiondev.rst
Use `current_app` instead of `self.app`.
2012-12-13 19:03:54 +09:00
Natan L
99aaacb1a9 Emended extensiondev.rst. 2012-05-30 20:23:02 -07:00
Ron DuPlain
a3cb2a3382 Use American English for "behavior" in docs.
Prompted by plaes on #pocoo, mitsuhiko confirmed to use American English.
2012-04-19 11:51:38 -04:00
Armin Ronacher
52f9cefbcd More documentation updates for 0.9 2012-04-09 17:35:16 +01:00
Armin Ronacher
32f845ea75 Added an example for using the db connection without the request 2012-04-09 17:33:14 +01:00
Armin Ronacher
9bed20c07c Added documentation for appcontext and teardown handlers 2012-04-09 17:29:00 +01:00
Ron DuPlain
a5d1cf415e Merge pull request #440 from jamesls/extension-docs
Reword the docs for writing a flask extension
2012-03-13 17:00:18 -07:00
Ron DuPlain
c1a2e3cf14 Add Rule #0 to extension development. 2012-03-13 13:41:03 -07:00
James Saryerwinnie
8d1546f8e6 Reword the docs for writing a flask extension
There was a minor bug in the example extension that's
been fixed.

I also updated the description of the fixed code accordingly, and
expanded on the usage of _request_ctx_stack.top for adding data
that should be accesible to view functions.

I verified that the existing code as is works as expected.
2012-03-12 16:28:39 -07:00
Matt Dawson
2d237f3c53 Fix grammar in extension dev docs. 2012-03-12 10:57:00 -07:00
FND
4aebc267bc Hyphenate "class-based"
makes it more readable
2012-01-31 13:54:52 +01:00
Armin Ronacher
0719ad5f4f Documented new import system for extensions 2011-09-18 13:03:05 +02:00
Armin Ronacher
086ecdb918 Better reraising of exceptions 2011-05-28 15:11:48 +02:00
Armin Ronacher
a9fc040c39 Updated documentation to use teardown request where appropriate 2011-05-27 20:21:41 +02:00
Matt Dawson
c1c20ac108 Modify extensionsdev documentation. 2011-03-14 19:23:56 -04:00
Sam Anderson
da00160db6 Fixed some small typos in the documentation.
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2011-03-13 21:14:06 -04:00
Ron DuPlain
6875a057ec Fixed small typos in docs. Added a cross-ref. 2010-10-07 19:32:07 +08:00
jgraeme
ff2786d8af Fix some typos in the docs 2010-08-03 18:07:40 +08:00
Armin Ronacher
3da165f2f5 Fixed typo 2010-07-26 17:14:17 +02:00
Armin Ronacher
27ce5cc0a1 Added another rule to the approval list. 2.5-2.7 compatibility 2010-07-26 16:02:36 +02:00
Armin Ronacher
312dfb4373 Mentioned zip_safe 2010-07-25 18:51:28 +02:00
Armin Ronacher
a7d83a9f80 Approved extensions must not be GPL 2010-07-25 14:59:31 +02:00
Armin Ronacher
b2fb2245f1 Fixed a word in the docs 2010-07-23 15:42:33 +01:00
Armin Ronacher
66c1395589 Fixed wording 2010-07-23 15:21:08 +01:00
Armin Ronacher
3adc9de5ec Updated docs for extension approval process 2010-07-23 14:59:10 +01:00