Skip to content

Commit d5cd91e

Browse files
committed
Add autodoc mocks
1 parent 0a1018f commit d5cd91e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/conf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@
2020
# Uncomment the below if you use native CircuitPython modules such as
2121
# digitalio, micropython and busio. List the modules you use. Without it, the
2222
# autodoc module docs will fail to generate with a warning.
23-
# autodoc_mock_imports = ["digitalio", "busio"]
23+
autodoc_mock_imports = ["rtc", "supervisor", "pulseio", "audioio", "displayio", "neopixel",
24+
"microcontroller", "adafruit_touchscreen", "adafruit_bitmap_font",
25+
"adafruit_display_text", "adafruit_esp32spi", "secrets",
26+
"adafruit_sdcard", "storage", "adafruit_io"]
2427

2528

2629
intersphinx_mapping = {'python': ('https://docs.python.org/3.4', None),'CircuitPython': ('https://circuitpython.readthedocs.io/en/latest/', None)}

0 commit comments

Comments
 (0)