Updated Branches: refs/heads/trunk 683717beb -> 52b0b6940
docs: update index page. Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/40591744 Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/40591744 Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/40591744 Branch: refs/heads/trunk Commit: 405917442951ce0867b07844f7b23b93c689343d Parents: 683717b Author: Tomaz Muraus <[email protected]> Authored: Sun Aug 4 13:28:17 2013 +0200 Committer: Tomaz Muraus <[email protected]> Committed: Sun Aug 4 13:28:17 2013 +0200 ---------------------------------------------------------------------- docs/getting-started.rst | 44 ------------------------------------------- docs/getting_started.rst | 44 +++++++++++++++++++++++++++++++++++++++++++ docs/index.rst | 4 ++++ 3 files changed, 48 insertions(+), 44 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/40591744/docs/getting-started.rst ---------------------------------------------------------------------- diff --git a/docs/getting-started.rst b/docs/getting-started.rst deleted file mode 100644 index 7352480..0000000 --- a/docs/getting-started.rst +++ /dev/null @@ -1,44 +0,0 @@ -Getting Started -=============== - -Installation ------------- - -Libcloud is available on PyPi and can be installed using pip: - -.. sourcecode:: bash - - pip install apache-libcloud - -Upgrading ---------- - -If you used pip to install the library you can also use it to upgrade it: - -.. sourcecode:: bash - - pip install --upgrade apache-libcloud - -Example: Connecting with a Driver ---------------------------------- - -.. literalinclude:: /examples/compute/list_nodes.py - :language: python - -Example: Creating a Node ------------------------- - -.. literalinclude:: /examples/compute/create_node.py - :language: python - -Example: List Nodes Across Multiple Providers ---------------------------------------------- - -.. literalinclude:: /examples/compute/list_nodes_across_multiple_providers.py - :language: python - -Example: Bootstrapping Puppet on a Node ---------------------------------------- - -.. literalinclude:: /examples/compute/bootstrapping_puppet_on_node.py - :language: python http://git-wip-us.apache.org/repos/asf/libcloud/blob/40591744/docs/getting_started.rst ---------------------------------------------------------------------- diff --git a/docs/getting_started.rst b/docs/getting_started.rst new file mode 100644 index 0000000..7352480 --- /dev/null +++ b/docs/getting_started.rst @@ -0,0 +1,44 @@ +Getting Started +=============== + +Installation +------------ + +Libcloud is available on PyPi and can be installed using pip: + +.. sourcecode:: bash + + pip install apache-libcloud + +Upgrading +--------- + +If you used pip to install the library you can also use it to upgrade it: + +.. sourcecode:: bash + + pip install --upgrade apache-libcloud + +Example: Connecting with a Driver +--------------------------------- + +.. literalinclude:: /examples/compute/list_nodes.py + :language: python + +Example: Creating a Node +------------------------ + +.. literalinclude:: /examples/compute/create_node.py + :language: python + +Example: List Nodes Across Multiple Providers +--------------------------------------------- + +.. literalinclude:: /examples/compute/list_nodes_across_multiple_providers.py + :language: python + +Example: Bootstrapping Puppet on a Node +--------------------------------------- + +.. literalinclude:: /examples/compute/bootstrapping_puppet_on_node.py + :language: python http://git-wip-us.apache.org/repos/asf/libcloud/blob/40591744/docs/index.rst ---------------------------------------------------------------------- diff --git a/docs/index.rst b/docs/index.rst index 7209f8b..ebec441 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -30,10 +30,14 @@ Resource you can manage with Libcloud are divided in the following categories: A subset of supported providers in Libcloud. +Documentation +============= + .. toctree:: :glob: :maxdepth: 3 + getting_started compute/index storage/index loadbalancer/index
