Skip to content

Commit 0b5a0ef

Browse files
author
Steve Pulec
committed
Switch examples to code-block style
1 parent 73432c7 commit 0b5a0ef

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/scenarios/admin.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ fabric is more focused on application level tasks such as deployment.
1010

1111
Install Fabric:
1212

13-
::
13+
.. code-block:: bash
1414
1515
$ pip install fabric
1616
@@ -20,7 +20,7 @@ latter will ssh into each server, cd to our project directory, activate the
2020
virtual environment, pull the newest codebase, and restart the application
2121
server.
2222

23-
::
23+
.. code-block:: python
2424
2525
from fabric.api import cd, env, prefix, run, task
2626
@@ -40,7 +40,7 @@ server.
4040
With the previous code saved in a file named fabfile.py, we can check memory
4141
usage with:
4242

43-
::
43+
.. code-block:: bash
4444
4545
$ fab memory_usage
4646
[my_server1] Executing task 'memory'
@@ -59,7 +59,7 @@ usage with:
5959
6060
and we can deploy with:
6161

62-
::
62+
.. code-block:: bash
6363
6464
$ fab deploy
6565

0 commit comments

Comments
 (0)