Skip to content

Commit bebfd04

Browse files
committed
add optional requirement and fix docs build
1 parent 12f21fb commit bebfd04

File tree

3 files changed

+25
-1
lines changed

3 files changed

+25
-1
lines changed

docs/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@
3939
"busdisplay",
4040
"busio",
4141
"digitalio",
42-
"displayio" "espcamera",
42+
"espcamera",
4343
"fourwire",
44+
"jpegio",
4445
"micropython",
4546
"neopixel",
4647
"sdcardio",

docs/mock/displayio.py

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,24 @@ def __init__(self, i):
99

1010
def __setitem__(self, idx, value):
1111
self._data[idx] = value
12+
13+
14+
class ColorConverter:
15+
def __init__(self, colorspace):
16+
self._colorspace = colorspace
17+
18+
def convert(self, color_value) -> int:
19+
pass
20+
21+
22+
class Bitmap:
23+
def __init__(self, width, height, color_count):
24+
pass
25+
26+
27+
class Colorspace:
28+
pass
29+
30+
31+
class Display:
32+
pass

optional_requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
# SPDX-FileCopyrightText: 2022 Alec Delaney, for Adafruit Industries
22
#
33
# SPDX-License-Identifier: Unlicense
4+
5+
adafruit_bitmapsaver

0 commit comments

Comments
 (0)