]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
doc-rst: make dev-tools folder buildable stand-alone
authorMarkus Heiser <markus.heiser@darmarit.de>
Wed, 26 Oct 2016 06:23:14 +0000 (08:23 +0200)
committerJonathan Corbet <corbet@lwn.net>
Wed, 26 Oct 2016 23:24:54 +0000 (17:24 -0600)
Add minimal conf.py and moved dev-tools/tools.rst to dev-tools/index.rst
makes the dev-tools folder buildable stand-alone. To build only this
folder run::

  make SPHINXDIRS=dev-tools htmldocs
  make SPHINXDIRS=dev-tools pdfdocs

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/dev-tools/conf.py [new file with mode: 0644]
Documentation/dev-tools/index.rst [moved from Documentation/dev-tools/tools.rst with 87% similarity]
Documentation/index.rst

diff --git a/Documentation/dev-tools/conf.py b/Documentation/dev-tools/conf.py
new file mode 100644 (file)
index 0000000..7faafa3
--- /dev/null
@@ -0,0 +1,10 @@
+# -*- coding: utf-8; mode: python -*-
+
+project = "Development tools for the kernel"
+
+tags.add("subproject")
+
+latex_documents = [
+    ('index', 'dev-tools.tex', project,
+     'The kernel development community', 'manual'),
+]
similarity index 87%
rename from Documentation/dev-tools/tools.rst
rename to Documentation/dev-tools/index.rst
index 824ae8e54dd5b421d434aba7e95d82d42955a2c6..07d881147ef3c1eec38ea0daf06dc336ec92d633 100644 (file)
@@ -23,3 +23,11 @@ whole; patches welcome!
    kmemleak
    kmemcheck
    gdb-kernel-debugging
+
+
+.. only::  subproject and html
+
+   Indices
+   =======
+
+   * :ref:`genindex`
index f6a3d4766495f74d16d22b346532d359118efd08..0f98823126f2c699b91ee5b8423a2b681af67ed5 100644 (file)
@@ -14,7 +14,7 @@ Contents:
    admin-guide/index
    kernel-documentation
    process/index
-   dev-tools/tools
+   dev-tools/index
    driver-api/index
    media/index
    gpu/index