Skip to content

Commit

Permalink
Update for sphinx build
Browse files Browse the repository at this point in the history
  • Loading branch information
Alec Delaney committed Aug 23, 2022
1 parent 1c08b08 commit 90cab0a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 16 deletions.
10 changes: 2 additions & 8 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,13 @@ This is easily achieved by downloading
or individual libraries can be installed using
`circup <https://github.com/adafruit/circup>`_.

.. todo:: Describe the Adafruit product this library works with. For PCBs, you can also add the
image from the assets folder in the PCB's GitHub repo.
Works with the GUVx family of I2C UV light sensors

`Purchase one from the Adafruit shop <http://www.adafruit.com/products/5609>`_


Installing from PyPI
=====================
.. note:: This library is not available on PyPI yet. Install documentation is included
as a standard element. Stay tuned for PyPI availability!

.. todo:: Remove the above note if PyPI version is/will be available at time of release.

On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from
PyPI <https://pypi.org/project/adafruit-circuitpython-guvx-i2c/>`_.
Expand Down Expand Up @@ -102,8 +97,7 @@ Or the following command to update an existing version:
Usage Example
=============

.. todo:: Add a quick, simple example. It and other examples should live in the
examples folder and be included in docs/examples.rst.
See the `examples/` folder for usage examples.

Documentation
=============
Expand Down
3 changes: 1 addition & 2 deletions adafruit_guvx_i2c.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
**Hardware:**
.. todo:: Add links to any specific hardware product page(s), or category page(s).
Use unordered list & hyperlink rST inline format: "* `Link Text <url>`_"
* `GUVx UV light sensor <http://www.adafruit.com/products/5609>`_
**Software and Dependencies:**
Expand Down
2 changes: 1 addition & 1 deletion docs/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ Simple test

Ensure your device works with this simple test.

.. literalinclude:: ../examples/guvx_i2c_simpletest.py
.. literalinclude:: ../examples/guvb_c31sm_simpletest.py
:caption: examples/guvx_i2c_simpletest.py
:linenos:
6 changes: 1 addition & 5 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,10 @@ Table of Contents
.. toctree::
:caption: Tutorials

.. todo:: Add any Learn guide links here. If there are none, then simply delete this todo and leave
the toctree above for use later.

.. toctree::
:caption: Related Products

.. todo:: Add any product links here. If there are none, then simply delete this todo and leave
the toctree above for use later.
GUVx sensor <http://www.adafruit.com/products/5609>

.. toctree::
:caption: Other Links
Expand Down

0 comments on commit 90cab0a

Please sign in to comment.