diff mbox series

media: index.rst: exclude Indexes section from latex/pdf output

Message ID 1c3ec30bb23023d738b538e64ac3028902d53692.1553953762.git.mchehab+samsung@kernel.org (mailing list archive)
State New, archived
Headers show
Series media: index.rst: exclude Indexes section from latex/pdf output | expand

Commit Message

Mauro Carvalho Chehab March 30, 2019, 1:49 p.m. UTC
With LaTex, the Index at the end will always be present. Having
an extra chapter for it there will just add extra noise to the
document.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
---
 Documentation/media/index.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/Documentation/media/index.rst b/Documentation/media/index.rst
index 0a222fc1d7ca..0301c25ff887 100644
--- a/Documentation/media/index.rst
+++ b/Documentation/media/index.rst
@@ -18,7 +18,7 @@  Linux Media Subsystem Documentation
    v4l-drivers/index
    cec-drivers/index
 
-.. only::  subproject
+.. only:: html and subproject
 
    Indices
    =======