Skip to content

Commit 4eda368

Browse files
authored
Merge pull request #105 from jfurcean/fix_api_docs
fix api.rst to include all modules
2 parents b930f19 + 4bde505 commit 4eda368

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

docs/api.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,15 @@
66
77
.. automodule:: adafruit_pyportal
88
:members:
9+
10+
.. automodule:: adafruit_pyportal.graphics
11+
:members:
12+
13+
.. automodule:: adafruit_pyportal.network
14+
:members:
15+
16+
.. automodule:: adafruit_pyportal.peripherals
17+
:members:
18+
19+
.. automodule:: adafruit_pyportal.wifi
20+
:members:

docs/conf.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,27 @@
2626
# digitalio, micropython and busio. List the modules you use. Without it, the
2727
# autodoc module docs will fail to generate with a warning.
2828
autodoc_mock_imports = [
29+
"busio",
30+
"board",
31+
"digitalio",
2932
"rtc",
3033
"supervisor",
3134
"pulseio",
35+
"pwmio",
3236
"audioio",
3337
"audiocore",
3438
"microcontroller",
39+
"neopixel",
3540
"secrets",
3641
"adafruit_sdcard",
3742
"storage",
3843
"sdcardio",
44+
"terminalio",
3945
"adafruit_io",
4046
"adafruit_cursorcontrol",
47+
"adafruit_esp32spi",
48+
"adafruit_requests",
49+
"adafruit_portalbase",
4150
]
4251

4352

0 commit comments

Comments
 (0)