Skip to content

Commit d6704eb

Browse files
authored
Merge pull request #4 from brentru-2/brentru-2-patch-1
Fix Conf.py
2 parents da9ac67 + 543d3c1 commit d6704eb

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)