OSDN Git Service

media: admin-guide: split driver-specific indexes to new files
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sat, 18 Apr 2020 10:07:11 +0000 (12:07 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 22 Apr 2020 06:29:45 +0000 (08:29 +0200)
In order to better organize the main admin-guide index,
place the driver-specific indexes on separate files.

This ensures a more consistent numbering at the main index.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Documentation/admin-guide/media/cec-drivers.rst [new file with mode: 0644]
Documentation/admin-guide/media/dvb-drivers.rst [new file with mode: 0644]
Documentation/admin-guide/media/index.rst
Documentation/admin-guide/media/v4l-drivers.rst [new file with mode: 0644]

diff --git a/Documentation/admin-guide/media/cec-drivers.rst b/Documentation/admin-guide/media/cec-drivers.rst
new file mode 100644 (file)
index 0000000..8d9686c
--- /dev/null
@@ -0,0 +1,10 @@
+.. SPDX-License-Identifier: GPL-2.0
+
+=================================
+CEC driver-specific documentation
+=================================
+
+.. toctree::
+       :maxdepth: 2
+
+       pulse8-cec
diff --git a/Documentation/admin-guide/media/dvb-drivers.rst b/Documentation/admin-guide/media/dvb-drivers.rst
new file mode 100644 (file)
index 0000000..8df637c
--- /dev/null
@@ -0,0 +1,16 @@
+.. SPDX-License-Identifier: GPL-2.0
+
+========================================
+Digital TV driver-specific documentation
+========================================
+
+.. toctree::
+       :maxdepth: 2
+
+       avermedia
+       bt8xx
+       lmedm04
+       opera-firmware
+       technisat
+       ttusb-dec
+       zr364xx
index 05ddd49..6e0d2ba 100644 (file)
@@ -28,7 +28,7 @@ The media subsystem
         Table of Contents
 
 .. toctree::
-       :maxdepth: 5
+       :maxdepth: 2
        :numbered:
 
        intro
@@ -40,80 +40,9 @@ The media subsystem
 
        cardlist
 
-
-.. _uapi-v4l-drivers:
-
-Video4Linux (V4L) driver-specific documentation
-===============================================
-
-.. only:: html
-
-    .. class:: toc-title
-
-        Table of Contents
-
-.. toctree::
-       :maxdepth: 5
-       :numbered:
-
-       bttv
-       cafe_ccic
-       cpia2
-       cx88
-       davinci-vpbe
-       fimc
-       imx
-       imx7
-       ipu3
-       ivtv
-       meye
-       omap3isp
-       omap4_camera
-       philips
-       qcom_camss
-       rcar-fdp1
-       saa7134
-       si470x
-       si4713
-       si476x
-       vimc
-       vivid
-
-Digital TV driver-specific documentation
-========================================
-
-.. only:: html
-
-    .. class:: toc-title
-
-        Table of Contents
-
-.. toctree::
-       :maxdepth: 5
-       :numbered:
-
-       avermedia
-       bt8xx
-       lmedm04
-       opera-firmware
-       technisat
-       ttusb-dec
-       zr364xx
-
-CEC driver-specific documentation
-=================================
-
-.. only:: html
-
-    .. class:: toc-title
-
-        Table of Contents
-
-.. toctree::
-       :maxdepth: 5
-       :numbered:
-
-       pulse8-cec
+       v4l-drivers
+       dvb-drivers
+       cec-drivers
 
 **Copyright** |copy| 1999-2020 : LinuxTV Developers
 
diff --git a/Documentation/admin-guide/media/v4l-drivers.rst b/Documentation/admin-guide/media/v4l-drivers.rst
new file mode 100644 (file)
index 0000000..251cc4e
--- /dev/null
@@ -0,0 +1,33 @@
+.. SPDX-License-Identifier: GPL-2.0
+
+.. _uapi-v4l-drivers:
+
+===============================================
+Video4Linux (V4L) driver-specific documentation
+===============================================
+
+.. toctree::
+       :maxdepth: 2
+
+       bttv
+       cafe_ccic
+       cpia2
+       cx88
+       davinci-vpbe
+       fimc
+       imx
+       imx7
+       ipu3
+       ivtv
+       meye
+       omap3isp
+       omap4_camera
+       philips
+       qcom_camss
+       rcar-fdp1
+       saa7134
+       si470x
+       si4713
+       si476x
+       vimc
+       vivid