summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2016-10-26 08:23:16 +0200
committerJonathan Corbet <corbet@lwn.net>2016-10-26 17:25:08 -0600
commit6f2ec3a9d5489e2b54c63ca648bb00d0857c7a96 (patch)
tree035b7f74851c35b283e5e3364684dc7f56d33da7 /Documentation
parent241a8021c60fb19d9d8524d2f6d0d5a52a1e056f (diff)
downloadlinux-6f2ec3a9d5489e2b54c63ca648bb00d0857c7a96.tar.gz
linux-6f2ec3a9d5489e2b54c63ca648bb00d0857c7a96.tar.bz2
linux-6f2ec3a9d5489e2b54c63ca648bb00d0857c7a96.zip
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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/80211/index.rst2
-rw-r--r--Documentation/admin-guide/index.rst8
-rw-r--r--Documentation/gpu/index.rst2
-rw-r--r--Documentation/process/index.rst8
4 files changed, 18 insertions, 2 deletions
diff --git a/Documentation/80211/index.rst b/Documentation/80211/index.rst
index 90bba476f442..af210859d3e1 100644
--- a/Documentation/80211/index.rst
+++ b/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
=======
diff --git a/Documentation/admin-guide/index.rst b/Documentation/admin-guide/index.rst
index 4e5abbb4bbd5..fb779e67097b 100644
--- a/Documentation/admin-guide/index.rst
+++ b/Documentation/admin-guide/index.rst
@@ -32,3 +32,11 @@ Contents:
java
bad-memory
basic-profiling
+
+.. only:: subproject and html
+
+ Indices
+ =======
+
+ * :ref:`genindex`
+
diff --git a/Documentation/gpu/index.rst b/Documentation/gpu/index.rst
index be0dafcf5556..367d7c36b8e9 100644
--- a/Documentation/gpu/index.rst
+++ b/Documentation/gpu/index.rst
@@ -14,7 +14,7 @@ Linux GPU Driver Developer's Guide
vga-switcheroo
vgaarbiter
-.. only:: subproject
+.. only:: subproject and html
Indices
=======
diff --git a/Documentation/process/index.rst b/Documentation/process/index.rst
index 6ee818752474..cddf580671e7 100644
--- a/Documentation/process/index.rst
+++ b/Documentation/process/index.rst
@@ -30,3 +30,11 @@ Contents:
volatile-considered-harmful
development-process
+
+
+.. only:: subproject and html
+
+ Indices
+ =======
+
+ * :ref:`genindex`