2021-08-07 00:22:39

by Nícolas F. R. A. Prado

[permalink] [raw]
Subject: [PATCH] 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.

Signed-off-by: Nícolas F. R. A. Prado <[email protected]>
---
Documentation/admin-guide/media/ipu3.rst | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/Documentation/admin-guide/media/ipu3.rst b/Documentation/admin-guide/media/ipu3.rst
index 52c1c04173da..83b3cd03b35c 100644
--- a/Documentation/admin-guide/media/ipu3.rst
+++ b/Documentation/admin-guide/media/ipu3.rst
@@ -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
--
2.32.0