diff --git a/adafruit_ble_heart_rate.py b/adafruit_ble_heart_rate.py index 37845df..5ad0065 100644 --- a/adafruit_ble_heart_rate.py +++ b/adafruit_ble_heart_rate.py @@ -58,20 +58,20 @@ ) """Namedtuple for measurement values. -.. py:attribute:: HeartRateMeasurementValues.heart_rate +.. :attribute:: heart_rate: Heart rate (int), in beats per minute. -.. py:attribute:: HeartRateMeasurementValues.contact +.. :attribute:: contact: ``True`` if device is contacting the body, ``False`` if not, ``None`` if device does not support contact detection. -.. py:attribute:: HeartRateMeasurementValues.energy_expended +.. :attribute:: energy_expended: Energy expended (int), in kilo joules, or ``None`` if no value. -.. py:attribute:: HeartRateMeasurementValues.rr_intervals +.. :attribute:: rr_intervals: Sequence of RR intervals, measuring the time between beats. Oldest first, in ints that are units of 1024ths of a second. diff --git a/docs/conf.py b/docs/conf.py index 429b6d0..54471e8 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -38,18 +38,18 @@ master_doc = "index" # General information about the project. -project = u"Adafruit BLE_Heart_Rate Library" -copyright = u"2020 Adafruit Industries" -author = u"Adafruit Industries" +project = "Adafruit BLE_Heart_Rate Library" +copyright = "2020 Adafruit Industries" +author = "Adafruit Industries" # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. # # The short X.Y version. -version = u"1.0" +version = "1.0" # The full version, including alpha/beta/rc tags. -release = u"1.0" +release = "1.0" # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -140,7 +140,7 @@ ( master_doc, "AdafruitBLE_Heart_RateLibrary.tex", - u"AdafruitBLE_Heart_Rate Library Documentation", + "AdafruitBLE_Heart_Rate Library Documentation", author, "manual", ), @@ -154,7 +154,7 @@ ( master_doc, "AdafruitBLE_Heart_Ratelibrary", - u"Adafruit BLE_Heart_Rate Library Documentation", + "Adafruit BLE_Heart_Rate Library Documentation", [author], 1, ) @@ -169,7 +169,7 @@ ( master_doc, "AdafruitBLE_Heart_RateLibrary", - u"Adafruit BLE_Heart_Rate Library Documentation", + "Adafruit BLE_Heart_Rate Library Documentation", author, "AdafruitBLE_Heart_RateLibrary", "One line description of project.",