Skip to content

Commit 5041d3d

Browse files
author
brentru
committed
modified conf.py
1 parent d62811d commit 5041d3d

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
@@ -15,6 +15,11 @@
1515
'sphinx.ext.viewcode',
1616
]
1717

18+
# Uncomment the below if you use native CircuitPython modules such as
19+
# digitalio, micropython and busio. List the modules you use. Without it, the
20+
# autodoc module docs will fail to generate with a warning.
21+
autodoc_mock_imports = ["adafruit_bus_device", "micropython"]
22+
1823
intersphinx_mapping = {'python': ('https://docs.python.org/3.4', None),
1924
'CircuitPython': ('https://circuitpython.readthedocs.io/en/latest/', None)}
2025

0 commit comments

Comments
 (0)