Skip to contentSkip to conversation

media: ipu3.rst: Improve header formatting on tables

PATCH New Nícolas F. R. A. Prado 1 participant 1 message Aug 6, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media: ipu3.rst: Improve header formatting on tables

Use the header-rows option of the flat-table directive in order to have the first row displayed as a header. Also capitalize these headers. These changes make the tables easier to read.

---
 Documentation/admin-guide/media/ipu3.rst | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)
Documentation/admin-guide/media/ipu3.rst +8 -6
index 52c1c04173da..83b3cd03b35c 100644
@@ -51,10 +51,11 @@ to userspace as a V4L2 sub-device node and has two pads:
 .. tabularcolumns:: |p{0.8cm}|p{4.0cm}|p{4.0cm}|
 
 .. flat-table::
+    :header-rows: 1
 
-    * - pad
-      - direction
-      - purpose
+    * - Pad
+      - Direction
+      - Purpose
 
     * - 0
       - sink
@@ -148,10 +149,11 @@ Each pipe has two sink pads and three source pads for the following purpose:
 .. tabularcolumns:: |p{0.8cm}|p{4.0cm}|p{4.0cm}|
 
 .. flat-table::
+    :header-rows: 1
 
-    * - pad
-      - direction
-      - purpose
+    * - Pad
+      - Direction
+      - Purpose
 
     * - 0
       - sink
Signature · 1 line
2.32.0