Skip to content

Commit 61d169c

Browse files
committed
making sphinx happy with double backticks
1 parent 3a228dc commit 61d169c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

adafruit_veml6070.py

+8-8
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,13 @@ class VEML6070:
8383
8484
:param i2c_bus: The `busio.I2C` object to use. This is the only required parameter.
8585
:param str _veml6070_it: The integration time you'd like to set initially. Availble
86-
options: `VEML6070_HALF_T`, `VEML6070_1_T`, `VEML6070_2_T`, and
87-
`VEML6070_4_T`. The higher the '_x_' value, the more accurate
86+
options: ``VEML6070_HALF_T``, ``VEML6070_1_T``, ``VEML6070_2_T``, and
87+
``VEML6070_4_T``. The higher the '_x_' value, the more accurate
8888
the reading is (at the cost of less samples per reading).
89-
Defaults to `VEML6070_1_T` if parameter not passed. To change
89+
Defaults to ``VEML6070_1_T`` if parameter not passed. To change
9090
setting after intialization, use
91-
`[veml6070].set_integration_time(new_it)`.
92-
:param bool ack: The inital setting of ``ACKnowledge`` on alert. Defaults to `False`
91+
``[veml6070].set_integration_time(new_it)``.
92+
:param bool ack: The inital setting of ``ACKnowledge`` on alert. Defaults to ``False``
9393
if parameter not passed. To change setting after intialization,
9494
use ``[veml6070].set_ack(new_ack)``.
9595
@@ -195,8 +195,8 @@ def set_integration_time(self, new_it):
195195
"""
196196
Sets the Integration Time of the sensor. This is the refresh interval of the
197197
sensor. The higher the refresh interval, the more accurate the reading is (at
198-
the cost of less sampling). The available settings are: `VEML6070_HALF_T`,
199-
`VEML6070_1_T`, `VEML6070_2_T`, `VEML6070_4_T`.
198+
the cost of less sampling). The available settings are: ``VEML6070_HALF_T``,
199+
``VEML6070_1_T``, ``VEML6070_2_T``, ``VEML6070_4_T``.
200200
"""
201201
if new_it not in _VEML6070_INTEGRATION_TIME:
202202
raise ValueError("Integration Time invalid. Valid values are: ",
@@ -228,7 +228,7 @@ def wake(self):
228228

229229
def get_index(self, _raw):
230230
"""
231-
Calculates the UV Risk Level based on the captured UV reading. Requres the `_raw`
231+
Calculates the UV Risk Level based on the captured UV reading. Requres the ``_raw``
232232
argument (from ``veml6070.read``). Risk level is available for Integration Times (IT)
233233
1, 2, & 4. The result is automatically scaled to the current IT setting.
234234

0 commit comments

Comments
 (0)