docs/sphinx: Explicitly convert Sphinx paths to str
authorOliver Faso <erer1243@gmail.com>
Sun, 10 Sep 2023 04:08:06 +0000 (00:08 -0400)
committerJonathan Corbet <corbet@lwn.net>
Tue, 10 Oct 2023 19:35:54 +0000 (13:35 -0600)
commitf00c19c67a49f683e6a3aa19f546c37cf9344508
tree26af4eb369d0e327c66b0eac6a2daabda6f0a44f
parent3240c37567cccc5f3b08d96bf7ecd3b287da9ec0
docs/sphinx: Explicitly convert Sphinx paths to str

Sphinx 7.2+ is switching to using pathlib.Path
instead of str to represent paths. This fixes the
current deprecation warnings and eventual breakage.
This conversion will be a no-op when using older
Sphinx versions.

Signed-off-by: Oliver Faso <erer1243@gmail.com>
Tested-by: Akira Yokosawa <akiyks@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20230910040811.53046-1-erer1243@gmail.com
Documentation/sphinx/kerneldoc.py
Documentation/sphinx/kfigure.py