docs: fix warnings
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by defuz · committed by defuz · parent d6f5eb8 · Browse files · 4 files·+8 added−8 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
4 files+8 added−8 removed
- other:+8 added−8 removed
Provenance
- Commit
5562acf- Tree
96ff483- Author
defuz <defuz.net@gmail.com>- Committer
defuz <defuz.net@gmail.com>- Parent
d6f5eb8
4 files changed+8 added−8 removed
modified:docs/patterns/distribute.rst+2 added-2 removed
17 unmodified lines18 this system is the entry point support which allows one package to19 declare an "entry point" another package can hook into to extend the20 other package.21 - **installation manager**: :command:`easy_install`, which comes with distribute22- can install other libraries for you. You can also use :command:`pip`_ which22+ can install other libraries for you. You can also use `pip`_ which23 sooner or later will replace :command:`easy_install` which does more than just24 installing packages for you.25 26 Flask itself, and all the libraries you can find on the cheeseshop14 unmodified lines41 ------------------42 43 Because you have Flask running, you either have setuptools or distribute44 available on your system anyways. If you do not, fear not, there is a45-script to install it for you: :file:`distribute_setup.py`_. Just download and45+script to install it for you: `distribute_setup.py`_. Just download and46 run with your Python interpreter.47 48 Standard disclaimer applies: :ref:`you better use a virtualenv49 <virtualenv>`.117 unmodified linesmodified:docs/patterns/fileuploads.rst+1 added-1 removed
182 unmodified lines183 ------------------184 185 Because the common pattern for file uploads exists almost unchanged in all186 applications dealing with uploads, there is a Flask extension called187-``Flask-Uploads``_ that implements a full fledged upload mechanism with187+`Flask-Uploads`_ that implements a full fledged upload mechanism with188 white and blacklisting of extensions and more.189 190 .. _Flask-Uploads: http://pythonhosted.org/Flask-Uploads/modified:docs/extensions.rst+1 added-1 removed
30 unmodified lines31 depending on how the extension is distributed. If you want to develop an32 application that supports Flask 0.7 or earlier you should still import33 from the :data:`flask.ext` package. We provide you with a compatibility34 module that provides this package for older versions of Flask. You can35-download it from github: :file:`flaskext_compat.py`_35+download it from github: `flaskext_compat.py`_36 37 And here is how you can use it::38 39 import flaskext_compat9 unmodified linesmodified:docs/installation.rst+4 added-4 removed
148 unmodified lines149 `get-pip.py`_150 151 To install the latest setuptools, you can use its bootstrap file:152 153-:file:`ez_setup.py`_153+`ez_setup.py`_154 155 Either should be double-clickable once you download them. If you already have pip,156 you can upgrade them by running::157 158 > pip install --upgrade pip setuptools159 160-Most often, once you pull up a command prompt you want to be able to type :command:``pip``161-and :command:``python`` which will run those things, but this might not automatically happen160+Most often, once you pull up a command prompt you want to be able to type :command:`pip`161+and :command:`python` which will run those things, but this might not automatically happen162 on Windows, because it doesn't know where those executables are (give either a try!).163 164 To fix this, you should be able to navigate to your Python install directory165 (e.g ``C:\Python27``), then go to ``Tools``, then ``Scripts``; then find the166 ``win_add2path.py`` file and run that. Open a **new** Command Prompt and167-check that you can now just type :command:``python`` to bring up the interpreter.167+check that you can now just type :command:`python` to bring up the interpreter.168 169 Finally, to install `virtualenv`_, you can simply run::170 171 > pip install virtualenv5 unmodified lines