diff --git a/docs/extensions.rst b/docs/extensions.rst index 3d24574d..187f39b3 100644 --- a/docs/extensions.rst +++ b/docs/extensions.rst @@ -32,7 +32,7 @@ depending on how the extension is distributed. If you want to develop an application that supports Flask 0.7 or earlier you should still import from the :data:`flask.ext` package. We provide you with a compatibility module that provides this package for older versions of Flask. You can -download it from github: :file:`flaskext_compat.py`_ +download it from github: `flaskext_compat.py`_ And here is how you can use it:: diff --git a/docs/installation.rst b/docs/installation.rst index bd4561b0..34f4e160 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -150,21 +150,21 @@ If you don't currently have either, then `get-pip.py` will install both for you To install the latest setuptools, you can use its bootstrap file: -:file:`ez_setup.py`_ +`ez_setup.py`_ Either should be double-clickable once you download them. If you already have pip, you can upgrade them by running:: > pip install --upgrade pip setuptools -Most often, once you pull up a command prompt you want to be able to type :command:``pip`` -and :command:``python`` which will run those things, but this might not automatically happen +Most often, once you pull up a command prompt you want to be able to type :command:`pip` +and :command:`python` which will run those things, but this might not automatically happen on Windows, because it doesn't know where those executables are (give either a try!). To fix this, you should be able to navigate to your Python install directory (e.g ``C:\Python27``), then go to ``Tools``, then ``Scripts``; then find the ``win_add2path.py`` file and run that. Open a **new** Command Prompt and -check that you can now just type :command:``python`` to bring up the interpreter. +check that you can now just type :command:`python` to bring up the interpreter. Finally, to install `virtualenv`_, you can simply run:: diff --git a/docs/patterns/distribute.rst b/docs/patterns/distribute.rst index b168f148..997ca89b 100644 --- a/docs/patterns/distribute.rst +++ b/docs/patterns/distribute.rst @@ -19,7 +19,7 @@ make larger applications easier to distribute: declare an "entry point" another package can hook into to extend the other package. - **installation manager**: :command:`easy_install`, which comes with distribute - can install other libraries for you. You can also use :command:`pip`_ which + can install other libraries for you. You can also use `pip`_ which sooner or later will replace :command:`easy_install` which does more than just installing packages for you. @@ -42,7 +42,7 @@ Basic Setup Script Because you have Flask running, you either have setuptools or distribute available on your system anyways. If you do not, fear not, there is a -script to install it for you: :file:`distribute_setup.py`_. Just download and +script to install it for you: `distribute_setup.py`_. Just download and run with your Python interpreter. Standard disclaimer applies: :ref:`you better use a virtualenv diff --git a/docs/patterns/fileuploads.rst b/docs/patterns/fileuploads.rst index 626f9440..1982fe3e 100644 --- a/docs/patterns/fileuploads.rst +++ b/docs/patterns/fileuploads.rst @@ -184,7 +184,7 @@ An Easier Solution Because the common pattern for file uploads exists almost unchanged in all applications dealing with uploads, there is a Flask extension called -``Flask-Uploads``_ that implements a full fledged upload mechanism with +`Flask-Uploads`_ that implements a full fledged upload mechanism with white and blacklisting of extensions and more. .. _Flask-Uploads: http://pythonhosted.org/Flask-Uploads/