Commit da83c888 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

[media] doc-rst: better organize the media books



The uAPI book has 5 parts, but they lost numeration after
conversion to rst. Manually number those parts, and make
the main index with 1 depth, to only show the parts and
the annexes.

At each part, use :maxwidth: 5, in order to show a more
complete index.

While here, fix the cross-references between different
books.

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 5b8700e9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@ Media Controller
~~~~~~~~~~~~~~~~

The media controller userspace API is documented in
:ref:`the Media Controller uAPI book <media_common>`. This document focus
:ref:`the Media Controller uAPI book <media_controller>`. This document focus
on the kernel-side implementation of the media framework.

Abstract media device model
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ License".
        Table of Contents

.. toctree::
    :maxdepth: 5
    :maxdepth: 1

    intro
    uapi/v4l/v4l2
+8 −6
Original line number Diff line number Diff line
@@ -4,16 +4,18 @@

.. _cec:

#######
CEC API
#######

.. _cec-api:
#########################################
Part V - Consumer Electronics Control API
#########################################

This part describes the CEC: Consumer Electronics Control

.. class:: toc-title

        Table of Contents

.. toctree::
    :maxdepth: 1
    :maxdepth: 5
    :numbered:

    cec-intro
+8 −4
Original line number Diff line number Diff line
@@ -4,17 +4,21 @@

.. _dvbapi:

##############
Digital TV API
##############
########################
Part II - Digital TV API
########################

.. note:: This API is also known as **DVB API**, although it is generic
   enough to support all digital TV standards.

**Version 5.10**

.. class:: toc-title

        Table of Contents

.. toctree::
    :maxdepth: 1
    :maxdepth: 5
    :numbered:

    intro
+7 −10
Original line number Diff line number Diff line
@@ -2,21 +2,18 @@

.. include:: <isonum.txt>

.. _media_common:

####################
Media Controller API
####################

.. _media_controller:

****************
Media Controller
****************
##############################
Part IV - Media Controller API
##############################

.. class:: toc-title

        Table of Contents

.. toctree::
    :maxdepth: 1
    :maxdepth: 5
    :numbered:

    media-controller-intro
Loading