summaryrefslogtreecommitdiffstats
path: root/Documentation/media/uapi/v4l/crop.rst
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-11-14 14:32:32 -0200
committerJonathan Corbet <corbet@lwn.net>2016-11-16 15:20:59 -0700
commit15a04d4e76bd7ba755591f2369c574d8a0a7dc5d (patch)
tree9d4e655552bafc4e520a98c602f68ae6dea0c7a3 /Documentation/media/uapi/v4l/crop.rst
parentf3902934797b0b00ba8f10bfc377c1bb2789046c (diff)
downloadlinux-0-day-15a04d4e76bd7ba755591f2369c574d8a0a7dc5d.tar.gz
linux-0-day-15a04d4e76bd7ba755591f2369c574d8a0a7dc5d.tar.xz
docs-rst: auto-generate PDF image files
The PDF files that contain media images were actually generated offline from their SVG or PNG source files. Sphinx can handle PNG sources automatially. So, let's just drop their PDF counterparts. For SVG, however, Sphinx doesn't produce the right tags to use the TexLive SVG support. Also, the SVG support is done via shell execution, with is not nice. So, while we don't have any support for SVG inside Sphinx core or as an extension, move the logic to build them to Makefile, producing the PDF images on runtime. NOTE: due to the way Sphinx works, the PDF images should be generated inside the Kernel source tree, as otherwise Sphinx won't find it, not obeying what's specified by "O=" makefile parameter. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/media/uapi/v4l/crop.rst')
-rw-r--r--Documentation/media/uapi/v4l/crop.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/media/uapi/v4l/crop.rst b/Documentation/media/uapi/v4l/crop.rst
index 3ea733a8eef89..578c6f3d20f3c 100644
--- a/Documentation/media/uapi/v4l/crop.rst
+++ b/Documentation/media/uapi/v4l/crop.rst
@@ -53,8 +53,8 @@ Cropping Structures
.. _crop-scale:
-.. figure:: crop_files/crop.*
- :alt: crop.pdf / crop.gif
+.. figure:: crop.png
+ :alt: crop.png
:align: center
Image Cropping, Insertion and Scaling