Commit graph

65 commits

Author SHA1 Message Date
Grey Li
9224860896 Remove the mention of Flask-OAuth in the extension dev docs 2021-02-19 22:59:09 +08:00
Grey Li
ee1df9803e Update Discord invite links 2020-07-21 12:11:17 +08:00
David Lord
1de5873d66 remove unused ref directives
replace page refs with doc directives
2020-04-04 12:57:14 -07:00
David Lord
286b84c370 Merge branch '1.0.x' into 1.1.x 2019-09-23 12:10:55 -07:00
David Lord
7c206114fa reword extension python version item 2019-09-23 11:59:59 -07:00
David Lord
d5a739fae5 Merge branch '1.0.x' into 1.1.x 2019-09-23 08:38:11 -07:00
David Lord
4504c6d7b8 update patterns, snippets, extensions docs 2019-09-23 08:19:40 -07:00
David Lord
a30c2d8ae3 Merge branch '1.0.x' into 1.1.x 2019-07-22 13:31:05 -07:00
Grey Li
411055c52b 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
ff0c92a1c7 Merge branch '1.0.x' 2019-06-23 16:57:52 -07:00
David Lord
363741ec69 fix docks linkcheck 2019-06-23 15:37:51 -07:00
David Lord
316caad5db Merge branch '1.0.x' 2019-05-16 12:18:36 -07:00
A Brooks
651692c1a1 Fix various small spelling errors. 2019-05-16 11:50:10 -07:00
David Baumgold
3b6d1ecd24 fix RST line too long 2019-05-06 11:11:32 -04:00
venus
3736f27760 fix the typo 2019-01-12 21:42:06 +09:00
venus
b86b63e435 fix the typo 2019-01-12 14:51:04 +08:00
David Lord
010156c80a use theme provided by pallets-sphinx-themes 2018-04-18 12:05:31 -07:00
David Lord
1679ddbf85 rewrite extension docs
remove old extension patterns
remove flask.ext from api docs
2018-02-28 07:52:03 -08:00
David Lord
2c7a1ffa71 remove tests and docs for python 2.6 and 3.3 2017-12-16 07:00:00 -08:00
Kenneth Reitz
6bf53cca2a resolve merge conflicts 2017-05-25 17:21:32 -04:00
Jeff Widman
2ad2aadb88 Migrate various docs links to https (#2180)
Also fixed a few outdated links
2017-02-11 10:43:11 +01:00
Adrian Moennich
fffe46cf87 Do not suggest deprecated flask.ext.* 2017-01-10 13:12:18 +01:00
Armin Ronacher
e3cdb453fd 1.0 -> 0.11 in the docs 2016-05-26 20:52:17 +02:00
Stefan Wójcik
adae8303f7 fix a grammar mistake (#1798) 2016-05-05 19:27:45 +02:00
Markus Unterwaditzer
1ca15e241b 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
bb5a3ffebe Some grammar and typo fixes 2015-06-06 04:44:41 +02:00
Daniel Neuhäuser
df7c963e96 Fix wording 2015-06-06 04:44:41 +02:00
Daniel Neuhäuser
0823e1f443 Don't allow namespace packages anymore 2015-06-06 04:44:41 +02:00
Daniel Neuhäuser
8c127f64ae 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
53dd47ac8f 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
84a9146b6c 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
aafb9d0fbd 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
62019cf705 docs: `with, for, self` 2014-11-05 07:39:54 +03:00
defuz
b5c9ad68dd docs: :file:app.py, :file:yourapp/templates 2014-11-05 06:45:22 +03:00
Daniel Neuhäuser
1973eb22a3 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