summaryrefslogtreecommitdiff
path: root/docs/tutorials
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2016-04-24 02:52:09 -0700
committerSteve Piercy <web@stevepiercy.com>2016-04-24 02:53:20 -0700
commitac4d2ca3f47260c8029b51b23ed78908415b4a22 (patch)
tree6f1238621e4c54bdac7dea15b2adf08c7b61648f /docs/tutorials
parent58b8798dc4d77d296c5be28609545b646555ee00 (diff)
downloadpyramid-ac4d2ca3f47260c8029b51b23ed78908415b4a22.tar.gz
pyramid-ac4d2ca3f47260c8029b51b23ed78908415b4a22.tar.bz2
pyramid-ac4d2ca3f47260c8029b51b23ed78908415b4a22.zip
Use parsed-literal for installing versions of Pyramid. This should future proof docs.
Diffstat (limited to 'docs/tutorials')
-rw-r--r--docs/tutorials/modwsgi/index.rst6
-rw-r--r--docs/tutorials/wiki/installation.rst9
-rw-r--r--docs/tutorials/wiki2/installation.rst8
3 files changed, 12 insertions, 11 deletions
diff --git a/docs/tutorials/modwsgi/index.rst b/docs/tutorials/modwsgi/index.rst
index 7f5aac0a0..c66786b11 100644
--- a/docs/tutorials/modwsgi/index.rst
+++ b/docs/tutorials/modwsgi/index.rst
@@ -44,11 +44,11 @@ specific path information for commands and files.
#. Install :app:`Pyramid` into the newly created virtual environment:
- .. code-block:: text
+ .. parsed-literal::
$ cd ~/modwsgi/env
- $ $VENV/bin/pip install pyramid
-
+ $ $VENV/bin/pip install "pyramid==\ |release|\ "
+
#. Create and install your :app:`Pyramid` application. For the purposes of
this tutorial, we'll just be using the ``pyramid_starter`` application as
a baseline application. Substitute your existing :app:`Pyramid`
diff --git a/docs/tutorials/wiki/installation.rst b/docs/tutorials/wiki/installation.rst
index dbf995595..d9c3bec1e 100644
--- a/docs/tutorials/wiki/installation.rst
+++ b/docs/tutorials/wiki/installation.rst
@@ -97,16 +97,17 @@ Install Pyramid into the virtual Python environment
On UNIX
^^^^^^^
-.. code-block:: bash
+.. parsed-literal::
- $ $VENV/bin/pip install pyramid
+ $ $VENV/bin/pip install "pyramid==\ |release|\ "
On Windows
^^^^^^^^^^
-.. code-block:: doscon
+.. parsed-literal::
+
+ c:\\> %VENV%\\Scripts\\pip install "pyramid==\ |release|\ "
- c:\> %VENV%\Scripts\pip install pyramid
Change directory to your virtual Python environment
---------------------------------------------------
diff --git a/docs/tutorials/wiki2/installation.rst b/docs/tutorials/wiki2/installation.rst
index f4676345e..e45b13315 100644
--- a/docs/tutorials/wiki2/installation.rst
+++ b/docs/tutorials/wiki2/installation.rst
@@ -97,16 +97,16 @@ Install Pyramid into the virtual Python environment
On UNIX
^^^^^^^
-.. code-block:: bash
+.. parsed-literal::
- $ $VENV/bin/pip install pyramid
+ $ $VENV/bin/pip install "pyramid==\ |release|\ "
On Windows
^^^^^^^^^^
-.. code-block:: doscon
+.. parsed-literal::
- c:\> %VENV%\Scripts\pip install pyramid
+ c:\\> %VENV%\\Scripts\\pip install "pyramid==\ |release|\ "
Install SQLite3 and its development packages