summaryrefslogtreecommitdiffstats
path: root/Documentation/admin-guide/index.rst
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-27 01:25:08 +0200
commit6f2ec3a9d5489e2b54c63ca648bb00d0857c7a96 (patch)
tree035b7f74851c35b283e5e3364684dc7f56d33da7 /Documentation/admin-guide/index.rst
parentdoc-rst: make driver-api folder buildable stand-alone (diff)
downloadlinux-6f2ec3a9d5489e2b54c63ca648bb00d0857c7a96.tar.xz
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/admin-guide/index.rst')
-rw-r--r--Documentation/admin-guide/index.rst8
1 files changed, 8 insertions, 0 deletions
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`
+