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>
This commit is contained in:
Markus Heiser 2016-08-15 17:15:59 +02:00 committed by Jonathan Corbet
parent cfd7c612ba
commit 505f711174
5 changed files with 18 additions and 1 deletions

View File

@ -1,3 +1,5 @@
# -*- coding: utf-8; mode: python -*-
project = "Linux GPU Driver Developer's Guide"
tags.add("subproject")

View File

@ -12,3 +12,10 @@ Linux GPU Driver Developer's Guide
drm-uapi
i915
vga-switcheroo
.. only:: subproject
Indices
=======
* :ref:`genindex`

View File

@ -19,4 +19,3 @@ Indices and tables
==================
* :ref:`genindex`
* :ref:`search`

View File

@ -1,3 +1,5 @@
# -*- coding: utf-8; mode: python -*-
project = 'Linux Media Subsystem Documentation'
tags.add("subproject")

View File

@ -10,3 +10,10 @@ Contents:
media_kapi
dvb-drivers/index
v4l-drivers/index
.. only:: subproject
Indices
=======
* :ref:`genindex`