[docs] code blocks
authorArthur Lutz <arthur.lutz@logilab.fr>
Mon, 10 Jun 2013 16:58:40 +0200
changeset 159 eedd0d7cdb0d
parent 158 ce4fa4c50c95
child 160 7570a911464d
[docs] code blocks
docs/how-it-works.rst
--- a/docs/how-it-works.rst	Mon Jun 10 16:54:15 2013 +0200
+++ b/docs/how-it-works.rst	Mon Jun 10 16:58:40 2013 +0200
@@ -7,19 +7,22 @@
 
 The first step parses the user-data related to our ami
 
-::
+.. code-block:: bash
+
   /usr/bin/env python /etc/salt/srv/others/ec2_ami_parser.py
 
 The next step updates the salt states, if necessary by getting the necessary
 files from the hg repository
 
-::
+.. code-block:: bash
+
   salt-call state.highstate
   salt-call state.highstate
 
 (doing it twice is necessary to load new state/modules from the hg repository). Next,
 
-::
+.. code-block:: bash
+
   salt-call state.sls ami_builder
 
 includes all the operations done in the image. The operations can be grouped in three steps: