[PATCH v2 20/20] doc: Add the development-process to Sphinx build

From: Mauro Carvalho Chehab
Date: Mon Sep 12 2016 - 22:19:25 EST


Add an index and put it at Documentation/index.rst, in order
to allow building the Kernel develpment documentation on Sphinx.

Signed-off-by: Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxxxxx>
---
Documentation/conf.py | 2 ++
Documentation/development-process/conf.py | 10 ++++++++++
Documentation/development-process/index.rst | 31 +++++++++++++++++++++++++++++
Documentation/index.rst | 1 +
4 files changed, 44 insertions(+)
create mode 100644 Documentation/development-process/conf.py
create mode 100644 Documentation/development-process/index.rst

diff --git a/Documentation/conf.py b/Documentation/conf.py
index c25e95d46272..bf6f310e5170 100644
--- a/Documentation/conf.py
+++ b/Documentation/conf.py
@@ -338,6 +338,8 @@ latex_elements = {
latex_documents = [
('kernel-documentation', 'kernel-documentation.tex', 'The Linux Kernel Documentation',
'The kernel development community', 'manual'),
+ ('development-process/index', 'development-process.tex', 'Linux Kernel Development Documentation',
+ 'The kernel development community', 'manual'),
('gpu/index', 'gpu.tex', 'Linux GPU Driver Developer\'s Guide',
'The kernel development community', 'manual'),
('media/index', 'media.tex', 'Linux Media Subsystem Documentation',
diff --git a/Documentation/development-process/conf.py b/Documentation/development-process/conf.py
new file mode 100644
index 000000000000..4b4a12dace02
--- /dev/null
+++ b/Documentation/development-process/conf.py
@@ -0,0 +1,10 @@
+# -*- coding: utf-8; mode: python -*-
+
+project = 'Linux Kernel Development Documentation'
+
+tags.add("subproject")
+
+latex_documents = [
+ ('index', 'development-process.tex', 'Linux Kernel Development Documentation',
+ 'The kernel development community', 'manual'),
+]
diff --git a/Documentation/development-process/index.rst b/Documentation/development-process/index.rst
new file mode 100644
index 000000000000..f4bf8f714298
--- /dev/null
+++ b/Documentation/development-process/index.rst
@@ -0,0 +1,31 @@
+Linux Kernel Development Documentation
+======================================
+
+Contents:
+
+.. toctree::
+ :numbered:
+ :maxdepth: 2
+
+ HOWTO
+ Changes
+ CodingStyle
+ SubmittingPatches
+ SubmittingDrivers
+ stable_api_nonsense
+ SecurityBugs
+ ManagementStyle
+ stable_kernel_rules
+ kernel-docs
+ applying-patches
+
+ development-process
+
+.. only:: subproject
+
+ Indices
+ =======
+
+ * :ref:`genindex`
+
+
diff --git a/Documentation/index.rst b/Documentation/index.rst
index 05eded59820e..c6cf3971788d 100644
--- a/Documentation/index.rst
+++ b/Documentation/index.rst
@@ -12,6 +12,7 @@ Contents:
:maxdepth: 2

kernel-documentation
+ development-process/index
dev-tools/tools
media/index
gpu/index
--
2.7.4