summaryrefslogtreecommitdiff
path: root/docs/howto
diff options
context:
space:
mode:
authorSean Wang <sean@decrypted.org>2015-02-18 19:19:21 -0800
committerTim Graham <timograham@gmail.com>2015-02-22 09:38:54 -0500
commita3f7b034d7a8dacc117fef4d2237d63ec2274cba (patch)
treee28d0ad56ac06ee92d88b54e627b2fc4f2129491 /docs/howto
parentc231ec1af0c40f17b67fbd6d6af34b2d8b7a9616 (diff)
[1.7.x] Fixed #24358 -- Corrected code-block directives for console sessions.
Backport of eba6dff581aa8bd6a1c08456e83e68ad09ae4ec3 from master
Diffstat (limited to 'docs/howto')
-rw-r--r--docs/howto/deployment/wsgi/uwsgi.txt2
-rw-r--r--docs/howto/outputting-pdf.txt2
-rw-r--r--docs/howto/upgrade-version.txt4
3 files changed, 4 insertions, 4 deletions
diff --git a/docs/howto/deployment/wsgi/uwsgi.txt b/docs/howto/deployment/wsgi/uwsgi.txt
index 8263e10a9d..154b6ed360 100644
--- a/docs/howto/deployment/wsgi/uwsgi.txt
+++ b/docs/howto/deployment/wsgi/uwsgi.txt
@@ -24,7 +24,7 @@ The uWSGI wiki describes several `installation procedures`_. Using pip, the
Python package manager, you can install any uWSGI version with a single
command. For example:
-.. code-block:: bash
+.. code-block:: console
# Install current stable version.
$ sudo pip install uwsgi
diff --git a/docs/howto/outputting-pdf.txt b/docs/howto/outputting-pdf.txt
index d15f94f7f4..6e83e797a5 100644
--- a/docs/howto/outputting-pdf.txt
+++ b/docs/howto/outputting-pdf.txt
@@ -25,7 +25,7 @@ http://www.reportlab.com/software/opensource/rl-toolkit/download/.
The `user guide`_ (not coincidentally, a PDF file) explains how to install it.
Alternatively, you can also install it with ``pip``:
-.. code-block:: bash
+.. code-block:: console
$ sudo pip install reportlab
diff --git a/docs/howto/upgrade-version.txt b/docs/howto/upgrade-version.txt
index 82666d677b..3c9c1b8d78 100644
--- a/docs/howto/upgrade-version.txt
+++ b/docs/howto/upgrade-version.txt
@@ -52,7 +52,7 @@ might want to set up a new environment with all the dependencies first.
Exactly which steps you will need to take depends on your installation process.
The most convenient way is to use pip_ with the ``--upgrade`` or ``-U`` flag:
-.. code-block:: bash
+.. code-block:: console
$ pip install -U Django
@@ -74,7 +74,7 @@ warnings are silenced by default. It is useful to turn the warnings on so they
are shown in the test output (you can also use the flag if you test your app
manually using ``manage.py runserver``):
-.. code-block:: bash
+.. code-block:: console
$ python -Wall manage.py test