1. 17 11月, 2016 2 次提交
    • M
      docs-rst: auto-generate PDF image files · 15a04d4e
      Mauro Carvalho Chehab 提交于
      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: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      Signed-off-by: NJonathan Corbet <corbet@lwn.net>
      15a04d4e
    • M
      docs-rst: convert gif files to png · f3902934
      Mauro Carvalho Chehab 提交于
      Right now, media is using two different formats for bitmap
      images: GIF and PNG. Let's use just one, to make it simpler when
      building with Sphinx.
      
      As PNG is usually better than GIF, let's use it.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      Signed-off-by: NJonathan Corbet <corbet@lwn.net>
      f3902934