From: Mauro Carvalho Chehab Date: Sun, 3 Sep 2017 18:39:51 +0000 (-0400) Subject: media: index.rst: don't write "Contents:" on PDF output X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b9261184b8470fea19cda15f0e419a9a5593602e;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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