diff --git a/conf.py b/conf.py index a60e678..c123bf6 100644 --- a/conf.py +++ b/conf.py @@ -15,6 +15,11 @@ 'sphinx.ext.viewcode', ] +# Uncomment the below if you use native CircuitPython modules such as +# digitalio, micropython and busio. List the modules you use. Without it, the +# autodoc module docs will fail to generate with a warning. +autodoc_mock_imports = ["analogio"] + intersphinx_mapping = {'python': ('https://docs.python.org/3.4', None),'CircuitPython': ('https://circuitpython.readthedocs.io/en/latest/', None)} # Add any paths that contain templates here, relative to this directory.