Skip to contentSkip to conversation

docs: ABI: auxdisplay: use literal blocks for commands

PATCH Applied Randy Dunlap 2 participants 2 messages Sep 21 – Sep 24

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: ABI: auxdisplay: use literal blocks for commands

Use literal blocks for console I/O to separate it from the surrounding text. Otherwise the lines run together, without any clear break before or after the commands.

---
Cc: Jean-François Lessard <[email protected]>
Cc: Andy Shevchenko <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>

 Documentation/ABI/testing/sysfs-auxdisplay-linedisp |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
Documentation/ABI/testing/sysfs-auxdisplay-linedisp +6 -3
@@ -11,7 +11,8 @@ Description:
 
 		Writing an empty string clears the display.
 
-		Example:
+		Example::
+
 		  echo "Hello World" > message
 		  cat message			# Returns "Hello World\n"
 
@@ -23,7 +24,8 @@ Description:
 		Read-only attribute showing the character width capacity of
 		the line display device. Messages longer than this will scroll.
 
-		Example:
+		Example::
+
 		  cat num_chars		# Returns "16\n" for 16-char display
 
 What:		/sys/.../scroll_step_ms
@@ -35,7 +37,8 @@ Description:
 
 		Setting to 0 disables scrolling. Default is 500ms.
 
-		Example:
+		Example::
+
 		  echo "250" > scroll_step_ms	# 4Hz scrolling
 		  cat scroll_step_ms		# Returns "250\n"
 
#1 lore raw
Quoted 3 lines · Randy Dunlap

Use literal blocks for console I/O to separate it from the surrounding text. Otherwise the lines run together, without any clear break before or after the commands.

Applied, thanks!

[1/1] docs: ABI: auxdisplay: use literal blocks for commands

      commit: f63dc0eea92d07c5bb799a406571b555cd2bbd97

Best regards,

Signature · 2 lines
With Best Regards,
Andy Shevchenko