提交 6f2ec3a9 编写于 作者: M Markus Heiser 提交者: Jonathan Corbet

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: NMarkus Heiser <markus.heiser@darmarit.de>
Signed-off-by: NJonathan Corbet <corbet@lwn.net>
上级 241a8021
......@@ -9,7 +9,7 @@ Linux 802.11 Driver Developer's Guide
mac80211
mac80211-advanced
.. only:: subproject
.. only:: subproject and html
Indices
=======
......
......@@ -32,3 +32,11 @@ Contents:
java
bad-memory
basic-profiling
.. only:: subproject and html
Indices
=======
* :ref:`genindex`
......@@ -14,7 +14,7 @@ Linux GPU Driver Developer's Guide
vga-switcheroo
vgaarbiter
.. only:: subproject
.. only:: subproject and html
Indices
=======
......
......@@ -30,3 +30,11 @@ Contents:
volatile-considered-harmful
development-process
.. only:: subproject and html
Indices
=======
* :ref:`genindex`
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册