[igt-dev] [PATCH i-g-t] docs/testplan/conf.py: add sphinx path

Kamil Konieczny kamil.konieczny at linux.intel.com
Fri Sep 22 13:38:25 UTC 2023


Hi Mauro,
On 2023-09-15 at 14:36:34 +0200, Mauro Carvalho Chehab wrote:
> From: Mauro Carvalho Chehab <mchehab at kernel.org>
> 
> Without that, extensions from other directories might be probed,
> which is not what we want to do.
> 
> Such solution was imported from the Linux Kernel conf.py
> setting.

Reviewed-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>

> 
> Signed-off-by: Mauro Carvalho Chehab <mchehab at kernel.org>
> ---
>  docs/testplan/conf.py | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/docs/testplan/conf.py b/docs/testplan/conf.py
> index a7db5c3a230d..bf23881494b6 100644
> --- a/docs/testplan/conf.py
> +++ b/docs/testplan/conf.py
> @@ -8,6 +8,8 @@ import sys
>  # Get Sphinx version
>  major, minor, patch = sphinx.version_info[:3]
>  
> +sys.path.insert(0, os.path.abspath('sphinx'))
> +
>  extensions = []
>  
>  def which(program):
> -- 
> 2.41.0
> 


More information about the igt-dev mailing list