[PATCH] docs: power: supply: Mark property suffix patterns as literals
From: Weijie Yuan
Date: Wed Nov 04 2026 - 01:03:46 EST
From: Weijie Yuan <wy@xxxxxxxxx>
The *_NOW and *_AVG patterns start unclosed emphasis in the power
supply class documentation, producing two docutils warnings.
Render both patterns as inline literals so their wildcard asterisks
are displayed correctly.
Signed-off-by: Weijie Yuan <wy@xxxxxxxxx>
---
* Sphinx complains:
Documentation/power/power_supply_class.rst:211: WARNING: Inline emphasis start-string without end-string. [docutils]
Documentation/power/power_supply_class.rst:211: WARNING: Inline emphasis start-string without end-string. [docutils]
Documentation/power/power_supply_class.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/power/power_supply_class.rst b/Documentation/power/power_supply_class.rst
index 0072b41d4d45..f7555239e642 100644
--- a/Documentation/power/power_supply_class.rst
+++ b/Documentation/power/power_supply_class.rst
@@ -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.
--
2.56.0.438.g30c3f27cb8