docs: load_config.py: avoid needing a conf.py just due to LaTeX docs
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Sun, 14 Jul 2019 14:18:13 +0000 (11:18 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 17 Jul 2019 09:57:52 +0000 (06:57 -0300)
commita84d9e899683cd79cb134c6d962e57d0de9446cc
tree55871c83a14b79991a5d0615a7fb8d630d486f25
parent27eed923f715f6269b98e089ad2164f9b016eace
docs: load_config.py: avoid needing a conf.py just due to LaTeX docs

Right now, for every directory that we need to have LaTeX output,
a conf.py file is required.

That causes an extra overhead and it is actually a hack, as
the latex_documents line there are usually a copy of the ones
that are there already at the main conf.py.

So, instead, re-use the global latex_documents var, just
adjusting the path to be relative ones.

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