Re: [PATCH] docs: kfigure.py: Don't warn of missing PDF converter in 'make htmldocs'

From: Jonathan Corbet
Date: Mon Mar 28 2022 - 15:54:03 EST


Akira Yokosawa <akiyks@xxxxxxxxx> writes:

> 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: 8ccd05697a9d ("docs: sphinx/kfigure.py: Use inkscape(1) for SVG -> PDF conversion")
> Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx>
> Cc: Jonathan Corbet <corbet@xxxxxxx>
> Cc: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>
> Cc: linux-doc@xxxxxxxxxxxxxxx
> ---
> Documentation/sphinx/kfigure.py | 8 +++++---
> 1 file changed, 5 insertions(+), 3 deletions(-)

Applied, thanks.

jon