Skip to content

Commit 1f84150

Browse files
author
brentru
committed
Fix autodoc
1 parent 302215f commit 1f84150

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

conf.py

+5
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@
3636
'sphinx.ext.intersphinx'
3737
]
3838

39+
# Uncomment the below if you use native CircuitPython modules such as
40+
# digitalio, micropython and busio. List the modules you use. Without it, the
41+
# autodoc module docs will fail to generate with a warning.
42+
autodoc_mock_imports = ["adafruit_bus_device", "adafruit_register"]
43+
3944
# Add any paths that contain templates here, relative to this directory.
4045
templates_path = ['_templates']
4146

0 commit comments

Comments
 (0)