summaryrefslogtreecommitdiffstats
path: root/Documentation/driver-api
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2016-10-26 08:23:15 +0200
committerJonathan Corbet <corbet@lwn.net>2016-10-26 17:25:00 -0600
commit241a8021c60fb19d9d8524d2f6d0d5a52a1e056f (patch)
tree72a83ec4e5c21976213e3617498507f715f22363 /Documentation/driver-api
parentc289312f964b6e8851d0812b65f59c8b0387e78d (diff)
downloadlinux-241a8021c60fb19d9d8524d2f6d0d5a52a1e056f.tar.bz2
doc-rst: make driver-api folder buildable stand-alone
Add minimal conf.py makes the driver-api folder buildable stand-alone. To build only this folder run:: make SPHINXDIRS=driver-api htmldocs make SPHINXDIRS=driver-api pdfdocs Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/driver-api')
-rw-r--r--Documentation/driver-api/conf.py10
-rw-r--r--Documentation/driver-api/index.rst8
2 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/driver-api/conf.py b/Documentation/driver-api/conf.py
new file mode 100644
index 000000000000..202726d20088
--- /dev/null
+++ b/Documentation/driver-api/conf.py
@@ -0,0 +1,10 @@
+# -*- coding: utf-8; mode: python -*-
+
+project = "The Linux driver implementer's API guide"
+
+tags.add("subproject")
+
+latex_documents = [
+ ('index', 'driver-api.tex', project,
+ 'The kernel development community', 'manual'),
+]
diff --git a/Documentation/driver-api/index.rst b/Documentation/driver-api/index.rst
index b567907db350..e18135b513e2 100644
--- a/Documentation/driver-api/index.rst
+++ b/Documentation/driver-api/index.rst
@@ -25,3 +25,11 @@ available subsections can be seen below.
hsi
miscellaneous
vme
+
+
+.. only:: subproject and html
+
+ Indices
+ =======
+
+ * :ref:`genindex`