From: Jörg Behrmann Date: Thu, 9 Jan 2025 21:59:58 +0000 (+0100) Subject: doc: add missing continue if pandoc is not available X-Git-Tag: v25~70 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe188ce47a2a7a240af1916336ab7f8b2df56b10;p=thirdparty%2Fmkosi.git doc: add missing continue if pandoc is not available Without the continue, the run on the next line will call die if pandoc is not available, thus breaking the fallback for subsequent formats. --- diff --git a/mkosi/documentation.py b/mkosi/documentation.py index e7af43b02..41a6652c8 100644 --- a/mkosi/documentation.py +++ b/mkosi/documentation.py @@ -29,7 +29,8 @@ def show_docs( return elif form == DocFormat.pandoc: if not find_binary("pandoc"): - logging.error("pandoc is not available") + logging.warn("pandoc is not available") + continue pandoc = run( ["pandoc", "-t", "man", "-s", resources / f"man/{manual}.{man_chapter}.md"], stdout=subprocess.PIPE,