Restructure index

Move the API to the end, recipes all grouped together up-front (with
remote GPIO setup just before the remote GPIO recipes). Tweak some
headings so everything looks a little more consistent in the (now
shorter) ToC.

Also added module index tags.
This commit is contained in:
Dave Jones
2017-07-14 21:46:27 +01:00
parent 120a30a951
commit 4cc4b1c132
16 changed files with 118 additions and 95 deletions

View File

@@ -1,13 +1,13 @@
============
Source Tools
============
====================
API - Device Sources
====================
.. currentmodule:: gpiozero.tools
.. module:: gpiozero.tools
GPIO Zero includes several utility routines which are intended to be used with
the :doc:`source_values` attributes common to most devices in the library. These
utility routines are in the ``tools`` module of GPIO Zero and are typically
imported as follows::
the :doc:`source_values` attributes common to most devices in the library.
These utility routines are in the ``tools`` module of GPIO Zero and are
typically imported as follows::
from gpiozero.tools import scaled, negated, all_values