git: 6738c77707 - main - handbook/x11: Silence doc build warning by changing an example into programlisting

From: Benedict Reuschling <bcr_at_FreeBSD.org>
Date: Fri, 26 Jun 2026 10:55:26 UTC
The branch main has been updated by bcr:

URL: https://cgit.FreeBSD.org/doc/commit/?id=6738c777075117bd33355780fee21192e24a6724

commit 6738c777075117bd33355780fee21192e24a6724
Author:     Benedict Reuschling <bcr@FreeBSD.org>
AuthorDate: 2026-06-26 10:51:30 +0000
Commit:     Benedict Reuschling <bcr@FreeBSD.org>
CommitDate: 2026-06-26 10:55:22 +0000

    handbook/x11: Silence doc build warning by changing an example into programlisting
    
    While here, remove whitespaces from end of lines. No content changes.
    
    Event:  Halifax Hackathon 202606
---
 .../content/en/books/handbook/x11/_index.adoc      | 42 +++++++++++-----------
 1 file changed, 21 insertions(+), 21 deletions(-)

diff --git a/documentation/content/en/books/handbook/x11/_index.adoc b/documentation/content/en/books/handbook/x11/_index.adoc
index 3ebc720005..0644e7aa30 100644
--- a/documentation/content/en/books/handbook/x11/_index.adoc
+++ b/documentation/content/en/books/handbook/x11/_index.adoc
@@ -627,27 +627,27 @@ The output should be similar to the following:
 ....
 Screen 0: minimum 320 x 200, current 2560 x 960, maximum 8192 x 8192
 LVDS-1 connected 1280x800+0+0 (normal left inverted right x axis y axis) 261mm x 163mm
-   1280x800      59.99*+  59.81    59.91    50.00  
-   1280x720      59.86    59.74  
-   1024x768      60.00  
-   1024x576      59.90    59.82  
-   960x540       59.63    59.82  
-   800x600       60.32    56.25  
-   864x486       59.92    59.57  
-   640x480       59.94  
-   720x405       59.51    58.99  
-   640x360       59.84    59.32  
+   1280x800      59.99*+  59.81    59.91    50.00
+   1280x720      59.86    59.74
+   1024x768      60.00
+   1024x576      59.90    59.82
+   960x540       59.63    59.82
+   800x600       60.32    56.25
+   864x486       59.92    59.57
+   640x480       59.94
+   720x405       59.51    58.99
+   640x360       59.84    59.32
 VGA-1 connected primary 1280x960+1280+0 (normal left inverted right x axis y axis) 410mm x 257mm
-   1280x1024     75.02    60.02  
-   1440x900      74.98    60.07  
-   1280x960      60.00* 
-   1280x800      74.93    59.81  
-   1152x864      75.00  
-   1024x768      75.03    70.07    60.00  
-   832x624       74.55  
-   800x600       72.19    75.00    60.32    56.25  
-   640x480       75.00    72.81    66.67    59.94  
-   720x400       70.08  
+   1280x1024     75.02    60.02
+   1440x900      74.98    60.07
+   1280x960      60.00*
+   1280x800      74.93    59.81
+   1152x864      75.00
+   1024x768      75.03    70.07    60.00
+   832x624       74.55
+   800x600       72.19    75.00    60.32    56.25
+   640x480       75.00    72.81    66.67    59.94
+   720x400       70.08
 HDMI-1 disconnected (normal left inverted right x axis y axis)
 DP-1 disconnected (normal left inverted right x axis y axis)
 HDMI-2 disconnected (normal left inverted right x axis y axis)
@@ -738,7 +738,7 @@ $ xinput
 
 Its output should be similar to the following:
 
-[example]
+[.programlisting]
 ....
 
 ⎡ Virtual core pointer                    	id=2	[master pointer  (3)]