diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-10 08:22:19 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-10 08:31:24 -0300 |
commit | 282f02cb863594d9f39b7b89a92eeb7fc989a883 (patch) | |
tree | 30287f366a774c53ca4e500234fa9f5ea260ac10 /Documentation/media/uapi/dvb | |
parent | 303393393d9ae4a4b95765378c9686e08fda90ae (diff) | |
download | op-kernel-dev-282f02cb863594d9f39b7b89a92eeb7fc989a883.zip op-kernel-dev-282f02cb863594d9f39b7b89a92eeb7fc989a883.tar.gz |
[media] doc-rst: Don't use captions for examples
Unfortunately, captions are new on Sphinx for c blocks: it was
added only on version 1.3. Also, it were already bad enough
not being able to auto-numerate them.
So, let's give up and use, instead, titles before the examples.
Not much is lost, and, as a side track, we don't need to
numerate them anymore.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/media/uapi/dvb')
-rw-r--r-- | Documentation/media/uapi/dvb/dvbproperty.rst | 7 | ||||
-rw-r--r-- | Documentation/media/uapi/dvb/examples.rst | 8 |
2 files changed, 10 insertions, 5 deletions
diff --git a/Documentation/media/uapi/dvb/dvbproperty.rst b/Documentation/media/uapi/dvb/dvbproperty.rst index 9b3782c..3c348e5 100644 --- a/Documentation/media/uapi/dvb/dvbproperty.rst +++ b/Documentation/media/uapi/dvb/dvbproperty.rst @@ -48,8 +48,13 @@ symbol rate of 5.217 Mbauds, those properties should be sent to - :ref:`DTV_TUNE <DTV-TUNE>` -The code that would do the above is: +The code that would that would do the above is show in +:ref:`dtv-prop-example`. +.. _dtv-prop-example: + +Example: Setting digital TV frontend properties +=============================================== .. code-block:: c diff --git a/Documentation/media/uapi/dvb/examples.rst b/Documentation/media/uapi/dvb/examples.rst index 64e029e..ead3ddf 100644 --- a/Documentation/media/uapi/dvb/examples.rst +++ b/Documentation/media/uapi/dvb/examples.rst @@ -17,8 +17,8 @@ updated/recommended examples. .. _tuning: -Tuning -====== +Example: Tuning +=============== We will start with a generic tuning subroutine that uses the frontend and SEC, as well as the demux devices. The example is given for QPSK @@ -238,8 +238,8 @@ switch, and weather conditions this may be necessary. .. _the_dvr_device: -The DVR device -============== +Example: The DVR device +======================== The following program code shows how to use the DVR device for recording. |