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:
parent
679f4d6ea5
commit
b9261184b8
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue