Skip to content

Commit 4d63be7

Browse files
committed
add title to api.rst and add other modules to mock docs imports
1 parent 5b063b5 commit 4d63be7

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

docs/api.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,8 @@
44
.. If your library file(s) are nested in a directory (e.g. /adafruit_foo/foo.py)
55
.. use this format as the module name: "adafruit_foo.foo"
66
7+
API Reference
8+
#############
9+
710
.. automodule:: adafruit_displayio_sh1106
811
:members:

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
# Uncomment the below if you use native CircuitPython modules such as
2626
# digitalio, micropython and busio. List the modules you use. Without it, the
2727
# autodoc module docs will fail to generate with a warning.
28-
autodoc_mock_imports = ["displayio", "micropython"]
28+
autodoc_mock_imports = ["displayio", "micropython", "busdisplay", "fourwire", "i2cdisplaybus"]
2929

3030

3131
intersphinx_mapping = {

0 commit comments

Comments
 (0)