summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2017-09-03 14:39:51 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-09-05 06:30:41 -0400
commitb9261184b8470fea19cda15f0e419a9a5593602e (patch)
tree0fc4bb55f41f198a4bc308fd76c037c70a40f8b5
parent679f4d6ea516234d03d85e15aca46a0c1e0a6dea (diff)
downloadlinux-exynos-b9261184b8470fea19cda15f0e419a9a5593602e.tar.gz
linux-exynos-b9261184b8470fea19cda15f0e419a9a5593602e.tar.bz2
linux-exynos-b9261184b8470fea19cda15f0e419a9a5593602e.zip
media: index.rst: don't write "Contents:" on PDF output
Right now, Sphinx unconditionally creates a blank page with just "Contents:" on it, on PDF output. While this makes sense for html, it doesn't o PDF, as LaTeX does what's required automatically. Fix it. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
-rw-r--r--Documentation/media/index.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/Documentation/media/index.rst b/Documentation/media/index.rst
index 7d2907d4f8d7..1cf5316c8ff8 100644
--- a/Documentation/media/index.rst
+++ b/Documentation/media/index.rst
@@ -1,7 +1,11 @@
Linux Media Subsystem Documentation
===================================
-Contents:
+.. only:: html
+
+ .. class:: toc-title
+
+ Table of Contents
.. toctree::
:maxdepth: 2