diff mbox

[31/41] Documentation: buffer.rst: numerate tables

Message ID fdf854733aafa030ca10316ab52cdb6300def563.1467670142.git.mchehab@s-opensource.com (mailing list archive)
State New, archived
Headers show

Commit Message

Mauro Carvalho Chehab July 5, 2016, 1:31 a.m. UTC
Sphinx actually  doesn't numerate tables. So, let's add a
subtitle before each table. That makes them numerated.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
---
 Documentation/linux_tv/media/v4l/buffer.rst | 38 +++++++++++++++++++++++------
 1 file changed, 31 insertions(+), 7 deletions(-)
diff mbox

Patch

diff --git a/Documentation/linux_tv/media/v4l/buffer.rst b/Documentation/linux_tv/media/v4l/buffer.rst
index 4381110e2571..b195eb5b63a1 100644
--- a/Documentation/linux_tv/media/v4l/buffer.rst
+++ b/Documentation/linux_tv/media/v4l/buffer.rst
@@ -36,6 +36,9 @@  buffer.
 
 .. _v4l2-buffer:
 
+struct v4l2_buffer
+==================
+
 .. flat-table:: struct v4l2_buffer
     :header-rows:  0
     :stub-columns: 0
@@ -273,7 +276,10 @@  buffer.
 
 .. _v4l2-plane:
 
-.. flat-table:: struct v4l2_plane
+struct v4l2_plane
+=================
+
+.. flat-table::
     :header-rows:  0
     :stub-columns: 0
     :widths:       1 1 1 2
@@ -380,7 +386,10 @@  buffer.
 
 .. _v4l2-buf-type:
 
-.. flat-table:: enum v4l2_buf_type
+enum v4l2_buf_type
+==================
+
+.. flat-table::
     :header-rows:  0
     :stub-columns: 0
     :widths:       3 1 4
@@ -491,7 +500,10 @@  buffer.
 
 .. _buffer-flags:
 
-.. flat-table:: Buffer Flags
+Buffer Flags
+============
+
+.. flat-table::
     :header-rows:  0
     :stub-columns: 0
     :widths:       3 1 4
@@ -737,7 +749,10 @@  buffer.
 
 .. _v4l2-memory:
 
-.. flat-table:: enum v4l2_memory
+enum v4l2_memory
+================
+
+.. flat-table::
     :header-rows:  0
     :stub-columns: 0
     :widths:       3 1 4
@@ -788,7 +803,10 @@  The :ref:`struct v4l2_timecode <v4l2-timecode>` structure is designed to hold a
 
 .. _v4l2-timecode:
 
-.. flat-table:: struct v4l2_timecode
+struct v4l2_timecode
+--------------------
+
+.. flat-table::
     :header-rows:  0
     :stub-columns: 0
     :widths:       1 1 2
@@ -855,7 +873,10 @@  The :ref:`struct v4l2_timecode <v4l2-timecode>` structure is designed to hold a
 
 .. _timecode-type:
 
-.. flat-table:: Timecode Types
+Timecode Types
+--------------
+
+.. flat-table::
     :header-rows:  0
     :stub-columns: 0
     :widths:       3 1 4
@@ -905,7 +926,10 @@  The :ref:`struct v4l2_timecode <v4l2-timecode>` structure is designed to hold a
 
 .. _timecode-flags:
 
-.. flat-table:: Timecode Flags
+Timecode Flags
+--------------
+
+.. flat-table::
     :header-rows:  0
     :stub-columns: 0
     :widths:       3 1 4