Skip to content

Commit

Permalink
doc: added Sphinx documentation for iio_attr.py.
Browse files Browse the repository at this point in the history
Updated the .rst files in order to display a documentation page for iio_attr.py.

Signed-off-by: Cristi Iacob <[email protected]>
  • Loading branch information
cristi-iacob committed May 29, 2020
1 parent 6a6432b commit 68a7716
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions bindings/python/doc/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Complete Application Examples
.. toctree::
iio_readdev
iio_writedev
iio_attr
iio_info


Expand Down
11 changes: 11 additions & 0 deletions bindings/python/doc/iio_attr.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
iio_attr
======================
| iio_attr is part of the Libiio package, a library that has been developed to ease the development of software interfacing Linux Industrial I/O (IIO) devices.
| This tool is written using the libiio Python bindings. It works in a very similar way of how the base iio_attr works. You can find more informations about it on this `page <https://wiki.analog.com/resources/tools-software/linux-software/libiio/iio_attr>`_.
.. automodule:: iio_attr
:members:

.. literalinclude:: ../examples/iio_attr.py
:language: python

0 comments on commit 68a7716

Please sign in to comment.