Skip to content

Commit

Permalink
Merge pull request #2 from brentru-2/brentru-2-patch-autodoc
Browse files Browse the repository at this point in the history
Fix autodoc
  • Loading branch information
kattni committed Feb 20, 2018
2 parents d6213b3 + b063750 commit 272e18f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@
'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.
Expand Down

0 comments on commit 272e18f

Please sign in to comment.