]> git.baikalelectronics.ru Git - kernel.git/commit
docs: kfigure.py: Don't warn of missing PDF converter in 'make htmldocs'
authorAkira Yokosawa <akiyks@gmail.com>
Sat, 26 Mar 2022 07:48:39 +0000 (16:48 +0900)
committerJonathan Corbet <corbet@lwn.net>
Mon, 28 Mar 2022 19:52:51 +0000 (13:52 -0600)
commit325f1c70fb2bc19608c8cfc3482b803c52e43e92
treeb36dbc9f374e09e145489bad3ce8afcf7b88c6a6
parent176bb25d3b1d598184e1545b2831ce2a6cc249d2
docs: kfigure.py: Don't warn of missing PDF converter in 'make htmldocs'

SVG -> PDF conversion is not required in "make htmldocs".
It is pointless to always warn of a missing converter.
Demote the log message in setupTools() to verbose.

For "make pdfdocs" (or "make latexdocs"), promote the dynamic
message of "include SVG raw" to a warn.
Expand the message and recommend installing Inkscape or
ImageMagick.

Fixes: 85a654956d84 ("docs: sphinx/kfigure.py: Use inkscape(1) for SVG -> PDF conversion")
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: linux-doc@vger.kernel.org
Acked-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Link: https://lore.kernel.org/r/c80e1481-10d4-7151-fe59-e846259eb0d4@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/sphinx/kfigure.py