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,6 +1,6 @@
================
Recipes (Simple)
================
=============
Basic Recipes
=============
.. currentmodule:: gpiozero
@@ -29,6 +29,8 @@ example, if an LED was attached to "GPIO17" you would specify the pin number as
Importing GPIO Zero
===================
.. module:: gpiozero
In Python, libraries and functions used in a script must be imported by name
at the top of the file, with the exception of the functions built into Python
by default.