Skip to content

Commit

Permalink
fix[docs]: Unindented example code on the index page
Browse files Browse the repository at this point in the history
Signed-off-by: Kanishk Pachauri <[email protected]>
  • Loading branch information
Mr-Sunglasses committed Nov 15, 2024
1 parent e671a4d commit 7e08da7
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,14 @@ Example
.. code-block:: python
:linenos:
import podman
import podman
with podman.PodmanClient() as client:
if client.ping():
images = client.images.list()
for image in images:
print(image.id)
with podman.PodmanClient() as client:
if client.ping():
images = client.images.list()
for image in images:
print(image.id)
.. toctree::
:caption: Podman Client
Expand Down Expand Up @@ -73,4 +74,4 @@ Indices and tables

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
* :ref:`search`

0 comments on commit 7e08da7

Please sign in to comment.