Skip to content

Commit d5ead18

Browse files
committed
Update included examples
Update examples that were moved in #938 and fix title underlines (docutils cares about this stuff). Signed-off-by: Stephen Finucane <[email protected]>
1 parent 3b6d9aa commit d5ead18

File tree

2 files changed

+6
-19
lines changed

2 files changed

+6
-19
lines changed

doc/source/index.rst

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,10 @@
1-
Welcome to kubernetes-python-client's documentation!
2-
========================================================
3-
4-
Contents:
1+
kubernetes-python-client
2+
========================
53

64
.. toctree::
75
:maxdepth: 2
86

97
README <README.md>
108
installation
119
usage
12-
examples
1310
contributing <CONTRIBUTING.md>
14-
15-
Indices and tables
16-
==================
17-
18-
* :ref:`genindex`
19-
* :ref:`modindex`
20-
* :ref:`search`

doc/source/usage.rst

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
1-
========
1+
=====
22
Usage
3-
========
3+
=====
44

55
The directory ``examples`` contains a few examples on how to use the client.
66

7-
87
Deployments
98
-----------
109

1110
Here is a simple usage of creating a deployment from a yaml file:
1211

13-
14-
.. literalinclude:: ../../examples/create_deployment.py
15-
12+
.. literalinclude:: ../../examples/deployment_create.py
1613

1714
The following example demonstrates how to create, update and delete deployments
1815
without the need to read a file from the disk:
1916

20-
.. literalinclude:: ../../examples/deployment_examples.py
17+
.. literalinclude:: ../../examples/deployment_crud.py

0 commit comments

Comments
 (0)