From 1f841503b7e141e748eee98d567d038e27651503 Mon Sep 17 00:00:00 2001 From: brentru Date: Fri, 23 Feb 2018 13:58:14 -0500 Subject: [PATCH] Fix autodoc --- conf.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/conf.py b/conf.py index 7f63353..c0f18f0 100644 --- a/conf.py +++ b/conf.py @@ -36,6 +36,11 @@ 'sphinx.ext.intersphinx' ] +# 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 = ["adafruit_bus_device", "adafruit_register"] + # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates']