summaryrefslogtreecommitdiffstats
path: root/Documentation/media/media_uapi.rst
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2017-09-02 20:25:36 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-09-05 06:27:50 -0400
commit1b41d94bb50e34715489f48c2a649d0c130282f2 (patch)
tree63658bbcc040e9a9c0b38915ef133a986acbac01 /Documentation/media/media_uapi.rst
parentf989420788b752a78de3c2257b46ca9bfd244e29 (diff)
downloadlinux-1b41d94bb50e34715489f48c2a649d0c130282f2.tar.gz
linux-1b41d94bb50e34715489f48c2a649d0c130282f2.tar.bz2
linux-1b41d94bb50e34715489f48c2a649d0c130282f2.zip
media: docs: don't show ToC for each part on PDF output
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>
Diffstat (limited to 'Documentation/media/media_uapi.rst')
-rw-r--r--Documentation/media/media_uapi.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/media/media_uapi.rst b/Documentation/media/media_uapi.rst
index fd8ebe002cd2..28eb35a1f965 100644
--- a/Documentation/media/media_uapi.rst
+++ b/Documentation/media/media_uapi.rst
@@ -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