File tree 3 files changed +9
-2
lines changed
3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -601,7 +601,7 @@ class Adafruit_BME680_I2C(Adafruit_BME680):
601
601
import board
602
602
import adafruit_bme680
603
603
604
- Once this is done you can define your `board.I2C` object and define your sensor object
604
+ Once this is done you can define your `` board.I2C` ` object and define your sensor object
605
605
606
606
.. code-block:: python
607
607
@@ -688,7 +688,7 @@ class Adafruit_BME680_SPI(Adafruit_BME680):
688
688
from digitalio import DigitalInOut, Direction
689
689
import adafruit_bme680
690
690
691
- Once this is done you can define your `board.SPI` object and define your sensor object
691
+ Once this is done you can define your `` board.SPI` ` object and define your sensor object
692
692
693
693
.. code-block:: python
694
694
Original file line number Diff line number Diff line change 20
20
"sphinx.ext.viewcode" ,
21
21
]
22
22
23
+ # Uncomment the below if you use native CircuitPython modules such as
24
+ # digitalio, micropython and busio. List the modules you use. Without it, the
25
+ # autodoc module docs will fail to generate with a warning.
26
+ autodoc_mock_imports = ["micropython" ]
27
+
28
+
23
29
intersphinx_mapping = {
24
30
"python" : ("https://docs.python.org/3" , None ),
25
31
"BusDevice" : (
Original file line number Diff line number Diff line change 5
5
sphinx
6
6
sphinxcontrib-jquery
7
7
sphinx-rtd-theme
8
+ adafruit-circuitpython-typing
You can’t perform that action at this time.
0 commit comments