Skip to content

Commit

Permalink
Fix documentation examples. Release preparation
Browse files Browse the repository at this point in the history
  • Loading branch information
jplana committed Sep 30, 2013
1 parent b8394fc commit a7fb596
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 3 deletions.
8 changes: 8 additions & 0 deletions NEWS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,11 @@ News
*Release date: 18-Sep-2013*

* Initial release


0.2.0
-----

*Release data: 30-Sep-2013*

* Allow fetching of multiple keys (sub-nodes)
6 changes: 5 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Get a key

.. code:: python
client.get('/nodes/n2')['value']
client.get('/nodes/n2').value
Delete a key
~~~~~~~~~~~~
Expand Down Expand Up @@ -75,8 +75,12 @@ List sub keys

.. code:: python
# List nodes in the cluster
client.get('/nodes')
# List keys under /subtree
client.get('/subtree')
Get machines in the cluster
~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down
8 changes: 7 additions & 1 deletion docs-source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Get a key

.. code:: python
client.get('/nodes/n2')['value']
client.get('/nodes/n2').value
Delete a key
Expand Down Expand Up @@ -85,8 +85,12 @@ List sub keys

.. code:: python
# List nodes in the cluster
client.get('/nodes')
# List keys under /subtree
client.get('/subtree')
Get machines in the cluster
...........................
Expand Down Expand Up @@ -144,6 +148,8 @@ To make a release,
5) Increase version in setup.py (for next release)


List of contributors at https://github.com/jplana/python-etcd/graphs/contributors

Code documentation
------------------

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
NEWS = open(os.path.join(here, 'NEWS.txt')).read()


version = '0.1'
version = '0.2.0'

install_requires = ['urllib3==1.7']

Expand Down

0 comments on commit a7fb596

Please sign in to comment.