Updated example doc with correct syntax. Formatted bash prompt for joyent 
driver.


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/2450063a
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/2450063a
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/2450063a

Branch: refs/heads/trunk
Commit: 2450063adbdfabc1aab5a48e3cc1a28a764d41dc
Parents: e7665f9
Author: anthony-shaw <[email protected]>
Authored: Wed Dec 23 15:46:20 2015 +1100
Committer: anthony-shaw <[email protected]>
Committed: Wed Dec 23 15:46:20 2015 +1100

----------------------------------------------------------------------
 docs/container/drivers/joyent.rst             | 6 +++---
 docs/examples/container/install_and_deploy.py | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/2450063a/docs/container/drivers/joyent.rst
----------------------------------------------------------------------
diff --git a/docs/container/drivers/joyent.rst 
b/docs/container/drivers/joyent.rst
index c2a2233..f6feb5f 100644
--- a/docs/container/drivers/joyent.rst
+++ b/docs/container/drivers/joyent.rst
@@ -1,7 +1,7 @@
 Joyent Triton Container Driver Documentation
 ==================================
 
-`Joyent Triton`_ is a Docker hosting service, provided by service provider 
`Joyent`.
+`Joyent Triton`_ is a Docker hosting service, provided by service provider 
`Joyent`_.
 Docker-native tools and elastic hosts make deploying on Triton as easy as 
running Docker on your laptop.
 There is no special software to install or configure.
 Mix Docker containers with container-native Linux to extend the benefits of 
containerization to legacy applications and stateful services.
@@ -18,11 +18,11 @@ Download the script:
 
     curl -O 
https://raw.githubusercontent.com/joyent/sdc-docker/master/tools/sdc-docker-setup.sh
     
-Now execute the script, substituting the correct values:
+Now execute the script, substituting the correct values::
 
     bash sdc-docker-setup.sh <CLOUDAPI_URL> <ACCOUNT_USERNAME> 
~/.ssh/<PRIVATE_KEY_FILE>
 
-This should output something similar to the following:
+This should output something similar to the following::
 
     Setting up Docker client for SDC using:
         CloudAPI:        https://us-east-1.api.joyent.com

http://git-wip-us.apache.org/repos/asf/libcloud/blob/2450063a/docs/examples/container/install_and_deploy.py
----------------------------------------------------------------------
diff --git a/docs/examples/container/install_and_deploy.py 
b/docs/examples/container/install_and_deploy.py
index d11bdfe..4e25c54 100644
--- a/docs/examples/container/install_and_deploy.py
+++ b/docs/examples/container/install_and_deploy.py
@@ -9,4 +9,4 @@ driver = Cls(*CREDS)
 image = driver.install_image('tomcat:8.0')
 container = driver.deploy_container('tomcat', image)
 
-container.restart
+container.restart()

Reply via email to