projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
679f4d6
)
media: index.rst: don't write "Contents:" on PDF output
author
Mauro Carvalho Chehab
<
[email protected]
>
Sun, 3 Sep 2017 18:39:51 +0000
(14:39 -0400)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Tue, 5 Sep 2017 10:30:41 +0000
(06:30 -0400)
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 <
[email protected]
>
Documentation/media/index.rst
patch
|
blob
|
history
diff --git
a/Documentation/media/index.rst
b/Documentation/media/index.rst
index 7d2907d4f8d7c3302f095e16f22ebd270e7f2dab..1cf5316c8ff800b69ccbde624552066b52caef31 100644
(file)
--- 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