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>
This commit is contained in:
Mauro Carvalho Chehab 2017-09-03 14:39:51 -04:00
parent 679f4d6ea5
commit b9261184b8
1 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,11 @@
Linux Media Subsystem Documentation Linux Media Subsystem Documentation
=================================== ===================================
Contents: .. only:: html
.. class:: toc-title
Table of Contents
.. toctree:: .. toctree::
:maxdepth: 2 :maxdepth: 2