docs: index.rst: don't use genindex for pdf output
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 26 Jul 2019 12:51:29 +0000 (09:51 -0300)
committerJonathan Corbet <corbet@lwn.net>
Wed, 31 Jul 2019 19:31:16 +0000 (13:31 -0600)
The genindex logic is meant to be used only for html output, as
pdf build has its own way to generate indexes.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Acked-by: Vinod Koul <vkoul@kernel.org> # dmaengine and soundwire
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/core-api/index.rst
Documentation/driver-api/dmaengine/index.rst
Documentation/driver-api/soundwire/index.rst
Documentation/networking/device_drivers/index.rst
Documentation/networking/index.rst
Documentation/sound/index.rst

index dfd8fad1e1ec23828e54bb96f69c528f7437e96d..fa16a0538dcbf4f091cb45bb72949219ed92e4f4 100644 (file)
@@ -49,7 +49,7 @@ Interfaces for kernel debugging
    debug-objects
    tracepoint
 
-.. only::  subproject
+.. only:: subproject and html
 
    Indices
    =======
index 3026fa975937e63ab854ed8b2e625db501bff562..b9df904d0a79dc67ada7418ec50dc933b8ba7ccb 100644 (file)
@@ -47,7 +47,7 @@ This book adds some notes about PXA DMA
 
    pxa_dma
 
-.. only::  subproject
+.. only::  subproject and html
 
    Indices
    =======
index 6db026028f273b27dfe2a78253e78eaa4180c8b6..234911a0db9905039a6764df1fbda50c055892ce 100644 (file)
@@ -10,7 +10,7 @@ SoundWire Documentation
    error_handling
    locking
 
-.. only::  subproject
+.. only::  subproject and html
 
    Indices
    =======
index 2b7fefe72351d9e858000092a3e628c0effb8817..f724b7c69b9e0609a35a097285b79d0f2dace5f4 100644 (file)
@@ -24,7 +24,7 @@ Contents:
    google/gve
    mellanox/mlx5
 
-.. only::  subproject
+.. only::  subproject and html
 
    Indices
    =======
index a46fca264beed8299c6498bfb084523976b27453..6739066acadb1d892daebbdd5e1f59734cb2e1a4 100644 (file)
@@ -31,7 +31,7 @@ Contents:
    tls
    tls-offload
 
-.. only::  subproject
+.. only::  subproject and html
 
    Indices
    =======
index 47b89f014e694183a16ccf298957a8a043c8564e..4d7d42acf6dfda53c5533b0958d4d69935e318f7 100644 (file)
@@ -12,7 +12,7 @@ Linux Sound Subsystem Documentation
    hd-audio/index
    cards/index
 
-.. only::  subproject
+.. only::  subproject and html
 
    Indices
    =======