Skip to content

Commit f4bb3cc

Browse files
committed
Fix stubs & doc redirects
1 parent 8f02431 commit f4bb3cc

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

docs/redirects.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ shared-bindings/displayio/Group.rst shared-bindings/displayio/#displayio.Group
7171
shared-bindings/displayio/I2CDisplay.rst shared-bindings/displayio/#displayio.I2CDisplay
7272
shared-bindings/displayio/OnDiskBitmap.rst shared-bindings/displayio/#displayio.OnDiskBitmap
7373
shared-bindings/displayio/Palette.rst shared-bindings/displayio/#displayio.Palette
74-
shared-bindings/displayio/ParallelBus.rst shared-bindings/displayio/#displayio.ParallelBus
74+
shared-bindings/paralleldisplay/ParallelBus.rst shared-bindings/paralleldisplay/#paralleldisplay.ParallelBus
7575
shared-bindings/displayio/Shape.rst shared-bindings/displayio/#displayio.Shape
7676
shared-bindings/displayio/TileGrid.rst shared-bindings/displayio/#displayio.TileGrid
7777
shared-bindings/displayio/__init__.rst shared-bindings/displayio/

shared-bindings/displayio/Display.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
#include "shared-module/displayio/__init__.h"
4040
#include "supervisor/shared/translate.h"
4141

42-
//| _DisplayBus = Union['FourWire', 'ParallelBus', 'I2CDisplay']
43-
//| """:py:class:`FourWire`, :py:class:`ParallelBus` or :py:class:`I2CDisplay`"""
42+
//| _DisplayBus = Union['FourWire', 'paralleldisplay.ParallelBus', 'I2CDisplay']
43+
//| """:py:class:`FourWire`, :py:class:`paralleldisplay.ParallelBus` or :py:class:`I2CDisplay`"""
4444
//|
4545

4646
//|

shared-bindings/displayio/EPaperDisplay.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
//| busy_pin: Optional[microcontroller.Pin] = None, busy_state: bool = True,
6565
//| seconds_per_frame: float = 180, always_toggle_chip_select: bool = False,
6666
//| grayscale: bool = False) -> None:
67-
//| """Create a EPaperDisplay object on the given display bus (`displayio.FourWire` or `displayio.ParallelBus`).
67+
//| """Create a EPaperDisplay object on the given display bus (`displayio.FourWire` or `paralleldisplay.ParallelBus`).
6868
//|
6969
//| The ``start_sequence`` and ``stop_sequence`` are bitpacked to minimize the ram impact. Every
7070
//| command begins with a command byte followed by a byte to determine the parameter count and
@@ -75,7 +75,7 @@
7575
//| extra long 500 ms delay instead of 255 ms. The next byte will begin a new command definition.
7676
//|
7777
//| :param display_bus: The bus that the display is connected to
78-
//| :type _DisplayBus: displayio.FourWire or displayio.ParallelBus
78+
//| :type _DisplayBus: displayio.FourWire or paralleldisplay.ParallelBus
7979
//| :param ~_typing.ReadableBuffer start_sequence: Byte-packed initialization sequence.
8080
//| :param ~_typing.ReadableBuffer stop_sequence: Byte-packed initialization sequence.
8181
//| :param int width: Width in pixels

shared-bindings/displayio/__init__.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@
5050
//| including synchronizing with refresh rates and partial updating."""
5151
//|
5252

53+
//| import paralleldisplay
54+
5355
//| def release_displays() -> None:
5456
//| """Releases any actively used displays so their busses and pins can be used again. This will also
5557
//| release the builtin display on boards that have one. You will need to reinitialize it yourself

0 commit comments

Comments
 (0)