Update outdated extension doc
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Remove links and descriptions relate to abandoned "Flask Extension Registry" in documentation
authored by Grey Li · committed by David Lord · parent 626b5cc · Browse files · 2 files·+15 added−21 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+15 added−21 removed
- other:+15 added−21 removed
Provenance
- Commit
90004a8- Tree
149beb6- Author
Grey Li <withlihui@gmail.com>- Committer
David Lord <davidism@gmail.com>- Parent
626b5cc
2 files changed+15 added−21 removed
modified:docs/extensiondev.rst+12 added-15 removed
3 unmodified lines4 ===========================5 6 Flask, being a microframework, often requires some repetitive steps to get7 a third party library working. Many such extensions are already available8-on `PyPI <https://pypi.org/search/?c=Framework+%3A%3A+Flask>`_.8+on `PyPI`_.9 10 If you want to create your own Flask extension for something that does not11 exist yet, this guide to extension development will help you get your12 extension running in no time and to feel like users would expect your13 extension to behave.14 15-.. _Flask Extension Registry: http://flask.pocoo.org/extensions/16-15 Anatomy of an Extension16 -----------------------17 18 Extensions are all located in a package called ``flask_something``253 unmodified lines272 273 Learn from Others274 -----------------275 278-This documentation only touches the bare minimum for extension279-development. If you want to learn more, it's a very good idea to check280-out existing extensions on the `Flask Extension Registry`_. If you feel281-lost there is still the `mailinglist`_ and the `IRC channel`_ to get some282-ideas for nice looking APIs. Especially if you do something nobody before283-you did, it might be a very good idea to get some more input. This not only284-generates useful feedback on what people might want from an extension, but285-also avoids having multiple developers working in isolation on pretty much the286-same problem.276+This documentation only touches the bare minimum for extension development.277+If you want to learn more, it's a very good idea to check out existing extensions278+on the `PyPI`_. If you feel lost there is still the `mailinglist`_ and the279+`IRC channel`_ to get some ideas for nice looking APIs. Especially if you do280+something nobody before you did, it might be a very good idea to get some more281+input. This not only generates useful feedback on what people might want from282+an extension, but also avoids having multiple developers working in isolation283+on pretty much the same problem.284 285 Remember: good API design is hard, so introduce your project on the286 mailing list, and let other developers give you a helping hand with287 designing the API.5 unmodified lines293 -------------------294 295 Flask also has the concept of approved extensions. Approved extensions296 are tested as part of Flask itself to ensure extensions do not break on300-new releases. These approved extensions are listed on the `Flask301-Extension Registry`_ and marked appropriately. If you want your own302-extension to be approved you have to follow these guidelines:297+new releases. If you want your own extension to be approved you have to298+follow these guidelines:299 300 0. An approved Flask extension requires a maintainer. In the event an301 extension author would like to move beyond the project, the project should302 find a new maintainer including full source hosting transition and PyPI30 unmodified lines333 even if the extension would be safe for zipping.334 10. An extension currently has to support Python 3.4 and newer and 2.7.335 336 337+.. _PyPI: https://pypi.org/search/?c=Framework+%3A%3A+Flask338 .. _OAuth extension: https://pythonhosted.org/Flask-OAuth/339 .. _mailinglist: http://flask.pocoo.org/mailinglist/340 .. _IRC channel: http://flask.pocoo.org/community/irc/341 .. _Official Pallets Themes: https://pypi.org/project/Pallets-Sphinx-Themes/modified:docs/extensions.rst+3 added-6 removed
10 unmodified lines11 12 Finding Extensions13 ------------------14 15-Flask extensions are usually named "Flask-Foo" or "Foo-Flask". Many16-extensions are listed in the `Extension Registry`_, which can be updated17-by extension developers. You can also search PyPI for packages tagged18-with `Framework :: Flask <pypi_>`_.15+Flask extensions are usually named "Flask-Foo" or "Foo-Flask". You can16+search PyPI for packages tagged with `Framework :: Flask <pypi_>`_.17 18 19 Using Extensions20 ----------------19 unmodified lines40 41 Building Extensions42 -------------------43 46-While the `Extension Registry`_ contains many Flask extensions, you may44+While the `PyPI <pypi_>`_ contains many Flask extensions, you may45 not find an extension that fits your need. If this is the case, you can46 create your own. Read :ref:`extension-dev` to develop your own Flask47 extension.48 49 52-.. _Extension Registry: http://flask.pocoo.org/extensions/50 .. _pypi: https://pypi.org/search/?c=Framework+%3A%3A+Flask