You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by se...@apache.org on 2014/05/23 16:22:59 UTC

git commit: fix some bash formatting

Repository: cloudstack-docs
Updated Branches:
  refs/heads/master 8a05757d9 -> d11a3b9d8


fix some bash formatting


Project: http://git-wip-us.apache.org/repos/asf/cloudstack-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack-docs/commit/d11a3b9d
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack-docs/tree/d11a3b9d
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack-docs/diff/d11a3b9d

Branch: refs/heads/master
Commit: d11a3b9d8a9a0fde2971b2647d02cf04acb75755
Parents: 8a05757
Author: Sebastien Goasguen <ru...@gmail.com>
Authored: Fri May 23 16:22:49 2014 +0200
Committer: Sebastien Goasguen <ru...@gmail.com>
Committed: Fri May 23 16:22:49 2014 +0200

----------------------------------------------------------------------
 rtd/source/dev.rst | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack-docs/blob/d11a3b9d/rtd/source/dev.rst
----------------------------------------------------------------------
diff --git a/rtd/source/dev.rst b/rtd/source/dev.rst
index 4716797..020b605 100644
--- a/rtd/source/dev.rst
+++ b/rtd/source/dev.rst
@@ -88,7 +88,7 @@ the following whether in HTTP or HTTPS:
 
 A sample API GET request looks like the following:
 
-::
+.. sourcecode:: bash
 
 http://localhost:8080/client/api?command=deployVirtualMachine&serviceOfferingId=1&diskOfferingId=1&templateId=2&zoneId=4&apiKey=miVr6X7u6bN_sdahOBpjNejPgEsT35eXq-jB8CG20YI3yaxXcgpyuaIRmFI_EJTVwZ0nUkkJbPmY3y2bciKwFQ&signature=Lxx1DM40AjcXU%2FcaiK8RAP0O1hU%3D
 
@@ -135,7 +135,7 @@ process.
 
 To show how to sign a request, we will re-use the previous example.
 
-::
+.. sourcecode:: bash
 
 http://http://localhost:8080/client/api?command=deployVirtualMachine&serviceOfferingId=1&diskOfferingId=1&templateId=2&zoneId=4&apiKey=miVr6X7u6bN_sdahOBpjNejPgEsT35eXq-jB8CG20YI3yaxXcgpyuaIRmFI_EJTVwZ0nUkkJbPmY3y2bciKwFQ&signature=Lxx1DM40AjcXU%2FcaiK8RAP0O1hU%3D
 
@@ -168,7 +168,7 @@ Breaking this down, we have several distinct parts to this URL.
 
    .. sourcecode: bash
 
-command=deployVirtualMachine&serviceOfferingId=1&diskOfferingId=1&templateId=2&zoneId=4&apiKey=miVr6X7u6bN_sdahOBpjNejPgEsT35eXq-jB8CG20YI3yaxXcgpyuaIRmFI_EJTVwZ0nUkkJbPmY3y2bciKwFQ
+	command=deployVirtualMachine&serviceOfferingId=1&diskOfferingId=1&templateId=2&zoneId=4&apiKey=miVr6X7u6bN_sdahOBpjNejPgEsT35eXq-jB8CG20YI3yaxXcgpyuaIRmFI_EJTVwZ0nUkkJbPmY3y2bciKwFQ
 
 -  
 
@@ -200,7 +200,7 @@ To generate the signature.
    look like the following.
 
    .. sourcecode:: bash
-          apikey=mivr6x7u6bn_sdahobpjnejpgest35exq-jb8cg20yi3yaxxcgpyuairmfi_ejtvwz0nukkjbpmy3y2bcikwfq&command=deployvirtualmachine&diskofferingid=1&serviceofferingid=1&templateid=2&zoneid=4
+                 	apikey=mivr6x7u6bn_sdahobpjnejpgest35exq-jb8cg20yi3yaxxcgpyuairmfi_ejtvwz0nukkjbpmy3y2bcikwfq&command=deployvirtualmachine&diskofferingid=1&serviceofferingid=1&templateid=2&zoneid=4
 
 #. 
 
@@ -214,8 +214,8 @@ To generate the signature.
    By reconstructing the final URL in the format Base URL+API
    Path+Command String+Signature, the final URL should look like:
 
-   ::
-       http://localhost:8080/client/api?command=deployVirtualMachine&serviceOfferingId=1&diskOfferingId=1&templateId=2&zoneId=4&apiKey=miVr6X7u6bN_sdahOBpjNejPgEsT35eXq-jB8CG20YI3yaxXcgpyuaIRmFI_EJTVwZ0nUkkJbPmY3y2bciKwFQ&signature=Lxx1DM40AjcXU%2FcaiK8RAP0O1hU%3D
+   .. sourcecode:: bash
+ 	http://localhost:8080/client/api?command=deployVirtualMachine&serviceOfferingId=1&diskOfferingId=1&templateId=2&zoneId=4&apiKey=miVr6X7u6bN_sdahOBpjNejPgEsT35eXq-jB8CG20YI3yaxXcgpyuaIRmFI_EJTVwZ0nUkkJbPmY3y2bciKwFQ&signature=Lxx1DM40AjcXU%2FcaiK8RAP0O1hU%3D
 
 How to sign an API call with Python
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~