Skip to content

Commit

Permalink
Merge pull request #467 from Mr-Sunglasses/main
Browse files Browse the repository at this point in the history
fix[docs]: Unindented example code on the index page
  • Loading branch information
openshift-merge-bot[bot] authored Nov 17, 2024
2 parents e671a4d + 7e08da7 commit 1aab4bb
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 1aab4bb

Please sign in to comment.