]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
docs: conf: don't rely on cwd to get documentation location
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 19 Jan 2026 16:23:06 +0000 (17:23 +0100)
committerJonathan Corbet <corbet@lwn.net>
Fri, 23 Jan 2026 18:37:38 +0000 (11:37 -0700)
commitf123cffb000987bfc04f2463cc33bae2b2c1d590
treebaf7285688f6391e3389c5a5493a48bf33f2e27b
parentd0b31c30b58c07985c993fcc9275490948de87aa
docs: conf: don't rely on cwd to get documentation location

Instead of relying that Sphinx will be called from Documentation/
dir, pick the location based on __file__.

Suggested-by: Jani Nikula <jani.nikula@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <34c38718dfade91ff6f7afca5e9c1705ba253c97.1768838938.git.mchehab+huawei@kernel.org>
Documentation/conf.py