From b0637503fd7f05e8711db28691681d0228fada78 Mon Sep 17 00:00:00 2001 From: brentru-2 <36527780+brentru-2@users.noreply.github.com> Date: Fri, 16 Feb 2018 11:11:42 -0500 Subject: [PATCH] sphinx fix --- conf.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/conf.py b/conf.py index a60f3fa..3ac4d6f 100644 --- a/conf.py +++ b/conf.py @@ -15,6 +15,12 @@ extensions = [ '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 = ["micropython", "adafruit_bus_device"] + intersphinx_mapping = {'python': ('https://docs.python.org/3.4', None),'BusDevice': ('https://circuitpython.readthedocs.io/projects/bus_device/en/latest/', None),'CircuitPython': ('https://circuitpython.readthedocs.io/en/latest/', None)} # Add any paths that contain templates here, relative to this directory.