Skip to content

Commit c2f2d98

Browse files
authored
Merge pull request #149 from tekktrik/doc/add-missing-to-api
Add missing files to API reference
2 parents 8a75b12 + 50e2397 commit c2f2d98

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

adafruit_esp32spi/digitalio.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
DigitalIO for ESP32 over SPI.
99
1010
* Author(s): Brent Rubell, based on Adafruit_Blinka digitalio implementation
11-
and bcm283x Pin implementation.
11+
and bcm283x Pin implementation.
12+
1213
https://github.com/adafruit/Adafruit_Blinka/blob/master/src/adafruit_blinka/microcontroller/bcm283x/pin.py
1314
https://github.com/adafruit/Adafruit_Blinka/blob/master/src/digitalio.py
1415
"""
@@ -195,7 +196,7 @@ def drive_mode(self):
195196
def drive_mode(self, mode):
196197
"""Sets the pin drive mode.
197198
:param DriveMode mode: Defines the drive mode when outputting digital values.
198-
Either PUSH_PULL or OPEN_DRAIN
199+
Either PUSH_PULL or OPEN_DRAIN
199200
"""
200201
if mode is DriveMode.OPEN_DRAIN:
201202
raise NotImplementedError(

docs/api.rst

+12
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,15 @@
99

1010
.. automodule:: adafruit_esp32spi.adafruit_esp32spi_socket
1111
:members:
12+
13+
.. automodule:: adafruit_esp32spi.adafruit_esp32spi_wifimanager
14+
:members:
15+
16+
.. automodule:: adafruit_esp32spi.adafruit_esp32spi_wsgiserver
17+
:members:
18+
19+
.. automodule:: adafruit_esp32spi.digitalio
20+
:members:
21+
22+
.. automodule:: adafruit_esp32spi.PWMOut
23+
:members:

docs/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
# Uncomment the below if you use native CircuitPython modules such as
2626
# digitalio, micropython and busio. List the modules you use. Without it, the
2727
# autodoc module docs will fail to generate with a warning.
28-
# autodoc_mock_imports = ["digitalio", "busio"]
28+
autodoc_mock_imports = ["adafruit_requests"]
2929

3030

3131
intersphinx_mapping = {

0 commit comments

Comments
 (0)