소스 검색

doc-rst: include index only in subproject AND html

The index should only be included if the build of the sub-folder is done
with the html-builder (HTML output).

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Markus Heiser 9 년 전
부모
커밋
6f2ec3a9d5
4개의 변경된 파일18개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      Documentation/80211/index.rst
  2. 8 0
      Documentation/admin-guide/index.rst
  3. 1 1
      Documentation/gpu/index.rst
  4. 8 0
      Documentation/process/index.rst

+ 1 - 1
Documentation/80211/index.rst

@@ -9,7 +9,7 @@ Linux 802.11 Driver Developer's Guide
    mac80211
    mac80211-advanced
 
-.. only::  subproject
+.. only::  subproject and html
 
    Indices
    =======

+ 8 - 0
Documentation/admin-guide/index.rst

@@ -32,3 +32,11 @@ Contents:
    java
    bad-memory
    basic-profiling
+
+.. only::  subproject and html
+
+   Indices
+   =======
+
+   * :ref:`genindex`
+

+ 1 - 1
Documentation/gpu/index.rst

@@ -14,7 +14,7 @@ Linux GPU Driver Developer's Guide
    vga-switcheroo
    vgaarbiter
 
-.. only::  subproject
+.. only::  subproject and html
 
    Indices
    =======

+ 8 - 0
Documentation/process/index.rst

@@ -30,3 +30,11 @@ Contents:
    volatile-considered-harmful
 
    development-process
+
+
+.. only::  subproject and html
+
+   Indices
+   =======
+
+   * :ref:`genindex`