doc-rst: add index to sub-folders
Subsystems (4)
PATCH 1/1 doc-rst: add index to sub-folders
From: Markus Heiser <[email protected]>
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 <[email protected]>
--- Documentation/gpu/conf.py | 2 ++ Documentation/gpu/index.rst | 7 +++++++ Documentation/index.rst | 1 - Documentation/media/conf.py | 2 ++ Documentation/media/index.rst | 7 +++++++ 5 files changed, 18 insertions(+), 1 deletion(-)
Documentation/gpu/conf.py +2 -0
@@ -1,3 +1,5 @@ # -*- coding: utf-8; mode: python -*- project = "Linux GPU Driver Developer's Guide" + +tags.add("subproject")
Documentation/gpu/index.rst +7 -0
@@ -12,3 +12,10 @@ Linux GPU Driver Developer's Guide drm-uapi i915 vga-switcheroo + +.. only:: subproject + + Indices + ======= + + * :ref:`genindex`
Documentation/index.rst +0 -1
@@ -19,4 +19,3 @@ Indices and tables ================== * :ref:`genindex` -* :ref:`search`
Documentation/media/conf.py +2 -0
@@ -1,3 +1,5 @@ # -*- coding: utf-8; mode: python -*- project = 'Linux Media Subsystem Documentation' + +tags.add("subproject")
Documentation/media/index.rst +7 -0
@@ -10,3 +10,10 @@ Contents: media_kapi dvb-drivers/index v4l-drivers/index + +.. only:: subproject + + Indices + ======= + + * :ref:`genindex`
Signature · 1 line
2.7.4