]> git.baikalelectronics.ru Git - kernel.git/commit
docs: load_config.py: ensure subdirs end with "/"
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 18 Jul 2019 19:13:48 +0000 (16:13 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 19 Jul 2019 11:49:27 +0000 (08:49 -0300)
commit78801ebe985ebb4606e1fcbf8f2842c5512515b2
treeb4f2ec34273e2892cc000901069c5eb3811261cc
parentd91648c08deb50cf309ac455558c01a7bdfce1ed
docs: load_config.py: ensure subdirs end with "/"

The logic with seeks for a subdir passed via SPHINXDIRS is
incomplete: if one uses something like:

make SPHINXDIRS=arm pdfdocs

It will find both "arm" and "arm64" directories. Worse than
that, it will convert "arm64/index" to "4/index".

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Documentation/sphinx/load_config.py