aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-19 12:35:08 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-19 12:35:08 -0300
commitef88f10eb877c427a61c3aacc7ed08ffed0712ab (patch)
treebb678e7e9924674a9ea2cf07b6813f502c2d971b /Documentation/media
parent[media] doc-rst: better name the media books (diff)
downloadlinux-dev-ef88f10eb877c427a61c3aacc7ed08ffed0712ab.tar.xz
linux-dev-ef88f10eb877c427a61c3aacc7ed08ffed0712ab.zip
[media] doc-rst: backward compatibility with older Sphinx versions
Sphinx is really evil when an older version finds an extra attribute for the :toctree: tag: it simply ignores everything and produce documents without any chapter inside! As we're now using tags available only on Sphinx 1.4.x, we need to use some creative ways to add a title before the table of contents. Do that by using a css class. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/media')
-rw-r--r--Documentation/media/dvb-drivers/index.rst5
-rw-r--r--Documentation/media/media_kapi.rst6
-rw-r--r--Documentation/media/media_uapi.rst5
-rw-r--r--Documentation/media/v4l-drivers/index.rst5
4 files changed, 13 insertions, 8 deletions
diff --git a/Documentation/media/dvb-drivers/index.rst b/Documentation/media/dvb-drivers/index.rst
index e1d4d87f2a47..e4c2e74db9dc 100644
--- a/Documentation/media/dvb-drivers/index.rst
+++ b/Documentation/media/dvb-drivers/index.rst
@@ -14,12 +14,13 @@ any later version published by the Free Software Foundation. A copy of
the license is included in the chapter entitled "GNU Free Documentation
License".
+.. class:: toc-title
+
+ Table of Contents
.. toctree::
:maxdepth: 5
:numbered:
- :caption: Table of Contents
- :name: dvb_mastertoc
intro
avermedia
diff --git a/Documentation/media/media_kapi.rst b/Documentation/media/media_kapi.rst
index 0af80e90b7b5..5414d2a7dfb8 100644
--- a/Documentation/media/media_kapi.rst
+++ b/Documentation/media/media_kapi.rst
@@ -14,11 +14,13 @@ any later version published by the Free Software Foundation. A copy of
the license is included in the chapter entitled "GNU Free Documentation
License".
+.. class:: toc-title
+
+ Table of Contents
+
.. toctree::
:maxdepth: 5
:numbered:
- :caption: Table of Contents
- :name: kapi_mastertoc
kapi/v4l2-framework
kapi/v4l2-controls
diff --git a/Documentation/media/media_uapi.rst b/Documentation/media/media_uapi.rst
index debe4531040b..aaa9a0e387c4 100644
--- a/Documentation/media/media_uapi.rst
+++ b/Documentation/media/media_uapi.rst
@@ -14,11 +14,12 @@ any later version published by the Free Software Foundation. A copy of
the license is included in the chapter entitled "GNU Free Documentation
License".
+.. class:: toc-title
+
+ Table of Contents
.. toctree::
:maxdepth: 5
- :caption: Table of Contents
- :name: uapi_mastertoc
intro
uapi/v4l/v4l2
diff --git a/Documentation/media/v4l-drivers/index.rst b/Documentation/media/v4l-drivers/index.rst
index 8d1710234e5a..2aab653905ce 100644
--- a/Documentation/media/v4l-drivers/index.rst
+++ b/Documentation/media/v4l-drivers/index.rst
@@ -14,12 +14,13 @@ any later version published by the Free Software Foundation. A copy of
the license is included in the chapter entitled "GNU Free Documentation
License".
+.. class:: toc-title
+
+ Table of Contents
.. toctree::
:maxdepth: 5
:numbered:
- :caption: Table of Contents
- :name: v4l_mastertoc
fourcc
v4l-with-ir