Skip to content

Commit 543d3c1

Browse files
authored
Conf.py edited
1 parent da9ac67 commit 543d3c1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

conf.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@
3535
'sphinx.ext.viewcode',
3636
]
3737

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

0 commit comments

Comments
 (0)