From: Mauro Carvalho Chehab Date: Wed, 13 Jul 2016 13:50:34 +0000 (-0300) Subject: [media] doc-rst: increase depth of the main index X-Git-Tag: v4.8-rc1~131^2^2~122 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ab7a85a7d0dacf917aac4a7bbbd881dc230b0b63;p=karo-tx-linux.git [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 --- diff --git a/Documentation/media/media_uapi.rst b/Documentation/media/media_uapi.rst index 527c6deb1a19..5e872c8297b0 100644 --- a/Documentation/media/media_uapi.rst +++ b/Documentation/media/media_uapi.rst @@ -15,8 +15,10 @@ the license is included in the chapter entitled "GNU Free Documentation License". +.. contents:: + .. toctree:: - :maxdepth: 1 + :maxdepth: 5 intro uapi/v4l/v4l2 @@ -26,10 +28,3 @@ License". uapi/cec/cec-api uapi/gen-errors uapi/fdl-appendix - -.. only:: html - - Retrieval - ========= - - * :ref:`genindex`