From b7252bcc7a6aa32f8a55a2f7f99fbecca3a8e100 Mon Sep 17 00:00:00 2001 From: Matt Land Date: Mon, 13 May 2019 21:15:50 -0500 Subject: [PATCH] fix the build --- README.rst | 2 +- docs/developing.rst | 10 +++++----- docs/index.rst | 14 ++++++++++---- 3 files changed, 16 insertions(+), 10 deletions(-) diff --git a/README.rst b/README.rst index 36397bf..d8650f3 100644 --- a/README.rst +++ b/README.rst @@ -20,7 +20,7 @@ overhead of the decoding code. Usage Example ============= -.. literalinclude:: examples/imageload_simpletest.py +.. literalinclude:: ../examples/imageload_simpletest.py Contributing ============ diff --git a/docs/developing.rst b/docs/developing.rst index 9588b07..2c6f442 100644 --- a/docs/developing.rst +++ b/docs/developing.rst @@ -102,16 +102,16 @@ The corresponding Bitmap to the example above appears like this after loading:: 4 4 4 5 5 5 12 12 12 5 5 5 7 7 7 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 -This grid represents the example image (`15 pixels wide` and `17 pixels tall`). -The coordinates are arranged in a zero indexed grid, starting in the top left at `[0,0]`, -and continuing down and to the right to a final coordinate of `[14,16]`. +This grid represents the example image (**15 pixels wide** and **17 pixels tall**). +The coordinates are arranged in a zero indexed grid, starting in the top left at **[0,0]**, +and continuing down and to the right to a final coordinate of **[14,16]**. The value at each position is an integer, representing an entry in the palette object. -For example, the Bitmap coordinate `[0,0]` has the value (integer) `5`. +For example, the Bitmap coordinate **[0,0]** has the value (integer) **5**. -This corresponds to the the Palette object's, `[5]` which is `b'\x00\x00\xff\x00'`. This is a byte string that represents a color. +This corresponds to the the Palette object's, **[5]** which is **b'\x00\x00\xff\x00'**. This is a byte string that represents a color. diff --git a/docs/index.rst b/docs/index.rst index 166594f..60a17b2 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -20,17 +20,23 @@ Table of Contents api +.. toctree:: + :caption: Developing + + developing + .. 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. + CircuitPython displayio Setup for TFT FeatherWings .. 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. + Adafruit Feather M4 Express - Featuring ATSAMD51 - ATSAMD51 Cortex M4 + Adafruit TFT FeatherWing - 3.5" 480x320 Touchscreen for Feathers + TFT FeatherWing - 2.4" 320x240 Touchscreen For All Feathers + Adafruit Mini Color TFT with Joystick FeatherWing .. toctree:: :caption: Other Links