media: docs: don't show ToC for each part on PDF output
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Sun, 3 Sep 2017 00:25:36 +0000 (20:25 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 5 Sep 2017 10:27:50 +0000 (06:27 -0400)
The "Table of Contents" of a PDF file is generated only once,
at the beginning fo the output. It doesn't produce it on
each part.

So, don't output this text on each part of the document.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Documentation/media/cec-drivers/index.rst
Documentation/media/dvb-drivers/index.rst
Documentation/media/media_kapi.rst
Documentation/media/media_uapi.rst
Documentation/media/uapi/cec/cec-api.rst
Documentation/media/uapi/dvb/dvbapi.rst
Documentation/media/uapi/mediactl/media-controller.rst
Documentation/media/uapi/rc/remote_controllers.rst
Documentation/media/uapi/v4l/v4l2.rst
Documentation/media/v4l-drivers/index.rst

index 1c817aa..7ef2048 100644 (file)
@@ -21,7 +21,9 @@ more details.
 
 For more details see the file COPYING in the source distribution of Linux.
 
-.. class:: toc-title
+.. only:: html
+
+    .. class:: toc-title
 
         Table of Contents
 
index ea0da6d..3761411 100644 (file)
@@ -19,7 +19,9 @@ more details.
 
 For more details see the file COPYING in the source distribution of Linux.
 
-.. class:: toc-title
+.. only:: html
+
+   .. class:: toc-title
 
        Table of Contents
 
index bc06389..83da736 100644 (file)
@@ -20,7 +20,9 @@ more details.
 
 For more details see the file COPYING in the source distribution of Linux.
 
-.. class:: toc-title
+.. only:: html
+
+   .. class:: toc-title
 
         Table of Contents
 
index fd8ebe0..28eb35a 100644 (file)
@@ -14,7 +14,9 @@ any later version published by the Free Software Foundation. A copy of
 the license is included in the chapter entitled "GNU Free Documentation
 License".
 
-.. class:: toc-title
+.. only:: html
+
+   .. class:: toc-title
 
         Table of Contents
 
index bb01870..b68ca9c 100644 (file)
@@ -10,7 +10,10 @@ Part V - Consumer Electronics Control API
 
 This part describes the CEC: Consumer Electronics Control
 
-.. class:: toc-title
+
+.. only:: html
+
+   .. class:: toc-title
 
         Table of Contents
 
index 7d26e98..18c86b3 100644 (file)
@@ -28,7 +28,9 @@ Part II - Digital TV API
 
 **Version 5.10**
 
-.. class:: toc-title
+.. only:: html
+
+   .. class:: toc-title
 
         Table of Contents
 
index 7ae38d4..0eea4f9 100644 (file)
@@ -8,7 +8,9 @@
 Part IV - Media Controller API
 ##############################
 
-.. class:: toc-title
+.. only:: html
+
+   .. class:: toc-title
 
         Table of Contents
 
index 3e25cc9..46a8acb 100644 (file)
@@ -8,7 +8,9 @@
 Part III - Remote Controller API
 ################################
 
-.. class:: toc-title
+.. only:: html
+
+   .. class:: toc-title
 
         Table of Contents
 
index f52a11c..297c293 100644 (file)
@@ -11,7 +11,9 @@ This part describes the Video for Linux API version 2 (V4L2 API) specification.
 
 **Revision 4.5**
 
-.. class:: toc-title
+.. only:: html
+
+   .. class:: toc-title
 
         Table of Contents
 
index 10f2ce4..3643e63 100644 (file)
@@ -21,7 +21,9 @@ more details.
 
 For more details see the file COPYING in the source distribution of Linux.
 
-.. class:: toc-title
+.. only:: html
+
+   .. class:: toc-title
 
         Table of Contents