On Mon, 5 Feb 2024 18:51:31 +0100, Vegard Nossum wrote:
As of commit 3e893e16af55 ("docs: Raise the minimum Sphinx requirement
to 2.4.4"), we can use Sphinx's built-in logging facilities.
Gotchas:
- remove first argument 'app' from all calls
- instead of (fmt % (args)), use (fmt, args)
- instead of ("<fmt>: " + str) use ("<fmt: %s>", str)
- realign wrapped lines
I changed the "Neither inkscape(1) nor convert(1) found." message from a
.verbose() to a .warning(), since that actually affects the output in a
big way.
No, please don't!
you are partially reverting commit d987d5ae51ec ("docs: kfigure.py:
Don't warn of missing PDF converter in 'make htmldocs'").
See its changelog for why it should be kept verbase.
Thanks, Akira
Signed-off-by: Vegard Nossum <redacted>
---
Documentation/sphinx/kfigure.py | 66 ++++++++++++++++-----------------
1 file changed, 32 insertions(+), 34 deletions(-)