David Lord
49a38ed999
use theme provided by pallets-sphinx-themes
7 years ago
David Lord
4462cc57c8
rewrite extension docs
...
remove old extension patterns
remove flask.ext from api docs
7 years ago
David Lord
28d0f66c1f
remove tests and docs for python 2.6 and 3.3
7 years ago
Jeff Widman
bb0e755c80
Migrate various docs links to https ( #2180 )
...
Also fixed a few outdated links
8 years ago
Adrian Moennich
88111ae6bf
Do not suggest deprecated flask.ext.*
8 years ago
Armin Ronacher
f9ea3fe026
1.0 -> 0.11 in the docs
9 years ago
Stefan Wójcik
e45e17c490
fix a grammar mistake ( #1798 )
9 years ago
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
9 years ago
Jeff Widman
f80ea4fe5d
Some grammar and typo fixes
10 years ago
Daniel Neuhäuser
2b58e6120c
Fix wording
10 years ago
Daniel Neuhäuser
b9938d0182
Don't allow namespace packages anymore
10 years ago
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.
10 years ago
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.
10 years ago
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.
10 years ago
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.
10 years ago
defuz
663802e976
docs: ``with``, ``for``, ``self``
10 years ago
defuz
a8f570cc62
docs: :file:`app.py`, :file:`yourapp/templates`
10 years ago
Daniel Neuhäuser
e89c867d62
Switch packages.python.org to pythonhosted.org
11 years ago
Thomas Waldmann
40fad2ece8
document python 2.6 minimum requirement, remove all stuff that refers to 2.5
12 years ago
INADA Naoki
be0b5196bf
Update docs/extensiondev.rst
...
Use `current_app` instead of `self.app`.
12 years ago
Natan L
99aaacb1a9
Emended extensiondev.rst.
13 years ago
Ron DuPlain
a3cb2a3382
Use American English for "behavior" in docs.
...
Prompted by plaes on #pocoo, mitsuhiko confirmed to use American English.
13 years ago
Armin Ronacher
52f9cefbcd
More documentation updates for 0.9
13 years ago
Armin Ronacher
32f845ea75
Added an example for using the db connection without the request
13 years ago
Armin Ronacher
9bed20c07c
Added documentation for appcontext and teardown handlers
13 years ago
Ron DuPlain
c1a2e3cf14
Add Rule #0 to extension development.
13 years ago
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.
13 years ago
Matt Dawson
2d237f3c53
Fix grammar in extension dev docs.
13 years ago
FND
4aebc267bc
Hyphenate "class-based"
...
makes it more readable
13 years ago
Armin Ronacher
0719ad5f4f
Documented new import system for extensions
13 years ago
Armin Ronacher
086ecdb918
Better reraising of exceptions
14 years ago
Armin Ronacher
a9fc040c39
Updated documentation to use teardown request where appropriate
14 years ago
Matt Dawson
c1c20ac108
Modify extensionsdev documentation.
14 years ago
Sam Anderson
da00160db6
Fixed some small typos in the documentation.
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
14 years ago
Ron DuPlain
6875a057ec
Fixed small typos in docs. Added a cross-ref.
14 years ago
jgraeme
ff2786d8af
Fix some typos in the docs
15 years ago
Armin Ronacher
3da165f2f5
Fixed typo
15 years ago
Armin Ronacher
27ce5cc0a1
Added another rule to the approval list. 2.5-2.7 compatibility
15 years ago
Armin Ronacher
312dfb4373
Mentioned zip_safe
15 years ago
Armin Ronacher
a7d83a9f80
Approved extensions must not be GPL
15 years ago
Armin Ronacher
b2fb2245f1
Fixed a word in the docs
15 years ago
Armin Ronacher
66c1395589
Fixed wording
15 years ago
Armin Ronacher
3adc9de5ec
Updated docs for extension approval process
15 years ago
Armin Ronacher
8837678a08
Changed extensiondev docs
15 years ago
jgraeme
540eca16f8
Fix some typos in the docs
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
15 years ago
Simon Sapin
e3de5e6ca3
Typo in extension development docs.
15 years ago
Armin Ronacher
ee69fb5890
Added document about extension development
15 years ago