[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>
This commit is contained in:
Mauro Carvalho Chehab
2016-07-19 12:35:08 -03:00
parent e1813eda8e
commit ef88f10eb8
5 ha cambiato i file con 18 aggiunte e 8 eliminazioni

Vedi File

@@ -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