[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20260119112725.67b364f7@foz.lan>
Date: Mon, 19 Jan 2026 11:27:25 +0100
From: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
To: Jonathan Corbet <corbet@....net>
Cc: linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org, Akira Yokosawa
<akiyks@...il.com>, Shuah Khan <shuah@...nel.org>, Jani Nikula
<jani.nikula@...ux.intel.com>
Subject: Re: [PATCH 2/2] Move kernel-doc to tools/docs
Em Wed, 14 Jan 2026 09:41:44 -0700
Jonathan Corbet <corbet@....net> escreveu:
> kernel-doc is the last documentation-related tool still living outside of
> the tools/docs directory; the time has come to move it over.
>
> Signed-off-by: Jonathan Corbet <corbet@....net>
...
> diff --git a/scripts/kernel-doc.py b/tools/docs/kernel-doc
> similarity index 100%
> rename from scripts/kernel-doc.py
> rename to tools/docs/kernel-doc
As reported by kernel test robot:
https://lore.kernel.org/linux-doc/202601191546.Bvd74asP-lkp@intel.com/
Here, you also need to change the relative location of the modules:
# Import Python modules
-LIB_DIR = "../tools/lib/python"
+LIB_DIR = "../lib/python"
SRC_DIR = os.path.dirname(os.path.realpath(__file__))
sys.path.insert(0, os.path.join(SRC_DIR, LIB_DIR))
Thanks,
Mauro
Powered by blists - more mailing lists