diff mbox

[3/4] docs: Fix a few code blocks

Message ID 1443965700-25938-4-git-send-email-damien.lespiau@intel.com
State Accepted
Headers show

Commit Message

Damien Lespiau Oct. 4, 2015, 1:34 p.m. UTC
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
---
 docs/development.rst | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

Comments

Stephen Finucane Nov. 12, 2015, 4:31 a.m. UTC | #1
O 04 Oct 14:34, Damien Lespiau wrote:
> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>

Some of these appear to have been introduced by pandoc, but some more
were incorrect in Markdown. Merged the latter.

Reviewed-by: Stephen Finucane <stephen.finucane@intel.com>
diff mbox

Patch

diff --git a/docs/development.rst b/docs/development.rst
index 7472b50..e81f0fd 100644
--- a/docs/development.rst
+++ b/docs/development.rst
@@ -25,14 +25,17 @@  patchwork and run it from there.
 
 ::
 
-       $ virtualenv django-1.8
+    $ virtualenv django-1.8
 
 This will create a virtual env called 'django-1.8' in eponymous
 directory.
 
 3. Activate a virtual environment
 
-   $ source django-1.8/bin/activate (django-1.8)$
+::
+
+    $ source django-1.8/bin/activate
+    (django-1.8)$
 
 The shell prompt is preprended with the virtual env name.
 
@@ -44,7 +47,7 @@  dependencies per interesting configuration.
 
 ::
 
-       (django-1.8)$ pip install -r docs/requirements-dev.txt
+    (django-1.8)$ pip install -r docs/requirements-dev.txt
 
 You will also need to install a version of Django - we don't install
 this by default to allow development against multiple versions of
@@ -52,15 +55,17 @@  Django. This can be installed like so (assuming Django 1.8):
 
 ::
 
-       (django-1.8)$ pip install 'django<1.9,>=1.8'
+    (django-1.8)$ pip install 'django<1.9,>=1.8'
 
 Of course, this is a one-time step: once installed in the virtual
 environment there is no need to to install requirements again.
 
 5. Run the development server
 
-   (django-1.8)$ ./manage.py --version 1.8 (django-1.8)$ ./manage.py
-   runserver
+::
+
+    (django-1.8)$ ./manage.py --version 1.8
+    (django-1.8)$ ./manage.py runserver
 
 Once finished, you can kill the server (``Ctrl`` + ``C``) and exit the
 virtual environment: