Skip to content

Commit 9149d64

Browse files
authored
Merge pull request #5 from brentru/fix-autodoc
Fix autodoc
2 parents 302215f + 1f84150 commit 9149d64

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)