summaryrefslogtreecommitdiff
path: root/Documentation/gpu
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2016-08-15 15:15:59 (GMT)
committerJonathan Corbet <corbet@lwn.net>2016-08-18 21:31:56 (GMT)
commit505f711174b03f42bdfae1aa6cc191b26c157e94 (patch)
tree14d7f6ba72d6ff3c6929956849fc07cafae1ce56 /Documentation/gpu
parentcfd7c612baa61af61b2c57b7b8321adf2d1b5d90 (diff)
downloadlinux-505f711174b03f42bdfae1aa6cc191b26c157e94.tar.xz
doc-rst: add index to sub-folders
Add a index if only a sub-folder is build e.g.:: make SPHINXDIRS=media cleandocs htmldocs BTW: removed dead search link in the top-index file Signed-off-by: Markus Heiser <markus.heiser@darmarIT.de> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/gpu')
-rw-r--r--Documentation/gpu/conf.py2
-rw-r--r--Documentation/gpu/index.rst7
2 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/gpu/conf.py b/Documentation/gpu/conf.py
index d60bcd0..6314d17 100644
--- a/Documentation/gpu/conf.py
+++ b/Documentation/gpu/conf.py
@@ -1,3 +1,5 @@
# -*- coding: utf-8; mode: python -*-
project = "Linux GPU Driver Developer's Guide"
+
+tags.add("subproject")
diff --git a/Documentation/gpu/index.rst b/Documentation/gpu/index.rst
index fcac0fa..5ff3d2b 100644
--- a/Documentation/gpu/index.rst
+++ b/Documentation/gpu/index.rst
@@ -12,3 +12,10 @@ Linux GPU Driver Developer's Guide
drm-uapi
i915
vga-switcheroo
+
+.. only:: subproject
+
+ Indices
+ =======
+
+ * :ref:`genindex`