[media] doc-rst: increase depth of the main index

It is useful to have an index with all the book contents somewhere,
as it makes easier to seek for something. So, increase maxdepth
to 5 for the main index at the beginning of the book.

While here, remove the genindex content, as it is bogus.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
Mauro Carvalho Chehab 2016-07-13 10:50:34 -03:00
parent cc0fe5cd98
commit ab7a85a7d0
1 changed files with 3 additions and 8 deletions

View File

@ -15,8 +15,10 @@ the license is included in the chapter entitled "GNU Free Documentation
License". License".
.. contents::
.. toctree:: .. toctree::
:maxdepth: 1 :maxdepth: 5
intro intro
uapi/v4l/v4l2 uapi/v4l/v4l2
@ -26,10 +28,3 @@ License".
uapi/cec/cec-api uapi/cec/cec-api
uapi/gen-errors uapi/gen-errors
uapi/fdl-appendix uapi/fdl-appendix
.. only:: html
Retrieval
=========
* :ref:`genindex`