]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
doc-rst: make driver-api folder buildable stand-alone
authorMarkus Heiser <markus.heiser@darmarit.de>
Wed, 26 Oct 2016 06:23:15 +0000 (08:23 +0200)
committerJonathan Corbet <corbet@lwn.net>
Wed, 26 Oct 2016 23:25:00 +0000 (17:25 -0600)
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>
Documentation/driver-api/conf.py [new file with mode: 0644]
Documentation/driver-api/index.rst

diff --git a/Documentation/driver-api/conf.py b/Documentation/driver-api/conf.py
new file mode 100644 (file)
index 0000000..202726d
--- /dev/null
@@ -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'),
+]
index b567907db350989656b7edf366b62c491d988380..e18135b513e242ec0a4123c93a2e31569fad0086 100644 (file)
@@ -25,3 +25,11 @@ available subsections can be seen below.
    hsi
    miscellaneous
    vme
+
+
+.. only::  subproject and html
+
+   Indices
+   =======
+
+   * :ref:`genindex`