Skip to content

Commit

Permalink
Merge pull request #2 from brentru/fix-autodoc
Browse files Browse the repository at this point in the history
fix autodoc
  • Loading branch information
kattni committed Feb 21, 2018
2 parents 7549e70 + de6bf4a commit 08636a3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ["adafruit_bus_device", "micropython"]

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 08636a3

Please sign in to comment.