Skip to contentSkip to conversation

docs: power: supply: fix inline strings

PATCH Applied Randy Dunlap 2 participants 2 messages Oct 8 – Nov 2

Subsystems (2)
lore
Share & tools
lore

Randy Dunlap

author reviewer
#0 lore raw

PATCH 1/1 docs: power: supply: fix inline strings

Consistently use string to quote code symbols.
This repairs the docs build warning:

Documentation/power/power_supply_class.rst:211: WARNING: Inline emphasis start-string without end-string. [docutils]

---
Cc: Iván Ezequiel Rodriguez <[email protected]>
Cc: Sebastian Reichel <[email protected]>
Cc: [email protected]
Cc: Jonathan Corbet <[email protected]>
Cc: Shuah Khan <[email protected]>
Cc: [email protected]

 Documentation/power/power_supply_class.rst |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
Documentation/power/power_supply_class.rst +4 -4
@@ -97,7 +97,7 @@ AUTHENTIC
 
 HEALTH
   represents health of the battery. Values correspond to
-  POWER_SUPPLY_HEALTH_*, defined in include/linux/power_supply.h.
+  `POWER_SUPPLY_HEALTH_*`, defined in include/linux/power_supply.h.
 
 VOLTAGE_OCV
   open circuit voltage of the battery.
@@ -188,7 +188,7 @@ CAPACITY_ALERT_MIN
 CAPACITY_ALERT_MAX
   maximum capacity alert value in percents.
 CAPACITY_LEVEL
-  capacity level. This corresponds to POWER_SUPPLY_CAPACITY_LEVEL_*.
+  capacity level. This corresponds to `POWER_SUPPLY_CAPACITY_LEVEL_*`.
 
 TEMP
   temperature of the power supply.
@@ -209,8 +209,8 @@ TEMP_MAX
 
 TIME_TO_EMPTY_NOW, TIME_TO_EMPTY_AVG
   seconds left for battery to be considered empty
-  (i.e., while battery powers a load). *_NOW is a
-  momentary reading; *_AVG is averaged over a fixed period.
+  (i.e., while battery powers a load). `*_NOW` is a
+  momentary reading; `*_AVG` is averaged over a fixed period.
 TIME_TO_FULL_NOW, TIME_TO_FULL_AVG
   seconds left for battery to be considered full
   (i.e., while battery is charging). Same now/avg distinction.
maintainer Applied
#1 lore raw
Quoted 16 lines · Randy Dunlap

Consistently use string to quote code symbols.
This repairs the docs build warning:

Documentation/power/power_supply_class.rst:211: WARNING: Inline emphasis start-string without end-string. [docutils]

---
Cc: Iván Ezequiel Rodriguez <[email protected]>
Cc: Sebastian Reichel <[email protected]>
Cc: [email protected]
Cc: Jonathan Corbet <[email protected]>
Cc: Shuah Khan <[email protected]>
Cc: [email protected]

Quoted 2 lines
 Documentation/power/power_supply_class.rst |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Applied, thanks.

jon